public static IntPtr GetDevice(IntPtr list, int index)
{
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
return NativeMethods.X64.OpenCL_GetDevice(list, (UIntPtr)index);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
return NativeMethods.X86.OpenCL_GetDevice(list, (UIntPtr)index);
#endif
}
public static bool SetEnabled(bool value)