예제 #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);
 }