Exemplo 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));
 }
Exemplo n.º 2
0
Arquivo: Device.cs Projeto: 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)));
 }