Esempio n. 1
0
 public Kernel buildKernelFromSource(string filename, string functionName, KernelInfo info = null) {
     CheckState();
     return new Kernel(occaBuildKernelFromSource(this.OccaHandle, filename, functionName, info != null ? info.OccaHandle : IntPtr.Zero));
 }
Esempio n. 2
0
File: Device.cs Progetto: tcew/OCCA2
 public Kernel buildKernelFromSource(string filename, string functionName, KernelInfo info = null)
 {
     CheckState();
     return(new Kernel(occaBuildKernelFromSource(this.OccaHandle, filename, functionName, info != null ? info.OccaHandle : IntPtr.Zero)));
 }