public IntPtr GetKernelProfileRecords(out UIntPtr length)
{
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
return NativeMethods.X64.OpenCLDevice_GetKernelProfileRecords(Instance, out length);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
return NativeMethods.X86.OpenCLDevice_GetKernelProfileRecords(Instance, out length);
#endif
}
public static IntPtr GetKernelProfileRecord(IntPtr list, int index)