public static extern CLContext clCreateContext( [In] IntPtr[] properties, uint num_devices, [In] CLDeviceID[] devices, LoggingFunction pfn_notify, IntPtr user_data, ref CLError errcode_ret);
static LogProxy() { loggingFunctions = new LoggingFunction[4] { DebugLog, ErrorLog, InfoLog, WarnLog }; eventLogInstance = null; loggerInstance = NL.LogManager.GetLogger("SafemateLogger"); mailerInstance = null; }
public static void setLoggingFunction(LoggingFunction logging_func) { Instance.logging_func = logging_func; }
public static extern CLContext clCreateContextFromType( [In] IntPtr[] properties, CLDeviceType device_type, LoggingFunction pfn_notify, IntPtr user_data, ref CLError errcode_ret);
internal static extern CLContext clCreateContextFromType([In] IntPtr[] properties, CLDeviceType device_type, LoggingFunction pfn_notify, IntPtr user_data, ref CLError errcode_ret);
internal static extern CLContext clCreateContext([In] IntPtr[] properties, int num_devices, [In] CLDeviceID[] devices, LoggingFunction pfn_notify, IntPtr user_data, ref CLError errcode_ret);
public static extern OpenCLContext clCreateContextFromType(IntPtr properties, DeviceType device_type, LoggingFunction pfn_notify, IntPtr user_data, Error error);
public static extern OpenCLContext clCreateContext(IntPtr properties, Int32 num_devices, [In] OpenCLDevice[] devices, LoggingFunction pfn_notify, IntPtr user_data, Error error);
public static OpenCLContext clCreateContextFromType(IntPtr properties, DeviceType device_type, LoggingFunction pfn_notify, IntPtr user_data, Error error) { Console.WriteLine("Calling OpenCLContext clCreateContextFromType(IntPtr properties, DeviceType device_type, LoggingFunction pfn_notify, IntPtr user_data, Error error)"); return default(OpenCLContext); }
public static OpenCLContext clCreateContext(IntPtr properties, Int32 num_devices, [In] OpenCLDevice[] devices, LoggingFunction pfn_notify, IntPtr user_data, Error error) { Console.WriteLine("Calling OpenCLContext clCreateContext(IntPtr properties, Int32 num_devices, [In] OpenCLDevice[] devices, LoggingFunction pfn_notify, IntPtr user_data, Error error)"); return default(OpenCLContext); }