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