示例#1
0
 public static extern CLContext clCreateContext(
     [In] IntPtr[] properties,
     uint num_devices,
     [In] CLDeviceID[] devices,
     LoggingFunction pfn_notify,
     IntPtr user_data,
     ref CLError errcode_ret);
示例#2
0
        static LogProxy()
        {
            loggingFunctions = new LoggingFunction[4] {
                DebugLog, ErrorLog, InfoLog, WarnLog
            };

            eventLogInstance = null;
            loggerInstance   = NL.LogManager.GetLogger("SafemateLogger");
            mailerInstance   = null;
        }
示例#3
0
文件: Logger.cs 项目: tasoscoding/EFC
 public static void setLoggingFunction(LoggingFunction logging_func)
 {
     Instance.logging_func = logging_func;
 }
示例#4
0
 public static extern CLContext clCreateContextFromType(
     [In] IntPtr[] properties,
     CLDeviceType device_type,
     LoggingFunction pfn_notify,
     IntPtr user_data,
     ref CLError errcode_ret);
示例#5
0
 internal static extern CLContext clCreateContextFromType([In] IntPtr[] properties, CLDeviceType device_type, LoggingFunction pfn_notify, IntPtr user_data, ref CLError errcode_ret);
示例#6
0
 internal static extern CLContext clCreateContext([In] IntPtr[] properties, int num_devices, [In] CLDeviceID[] devices, LoggingFunction pfn_notify, IntPtr user_data, ref CLError errcode_ret);
示例#7
0
 public static extern OpenCLContext clCreateContextFromType(IntPtr properties, DeviceType device_type, LoggingFunction pfn_notify, IntPtr user_data, Error error);
示例#8
0
 public static extern OpenCLContext clCreateContext(IntPtr properties, Int32 num_devices, [In] OpenCLDevice[] devices, LoggingFunction pfn_notify, IntPtr user_data, Error error);
示例#9
0
 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);
 }
示例#10
0
 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);
 }