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