internal static OpenCLKernelProfileRecord CreateInstance(IntPtr instance)
{
if (instance == IntPtr.Zero)
return null;
NativeOpenCLKernelProfileRecord nativeInstance = new NativeOpenCLKernelProfileRecord();
nativeInstance.Instance = instance;
return new OpenCLKernelProfileRecord(nativeInstance);
}