Example #1
0
 public RuntimeException(IKernel <T1, T2, T3> kernel, dim3?gridDim, int3?blockIdx, dim3?blockDim, int3?threadIdx, String workerThread, Exception innerException)
     : base(null, innerException)
 {
     Kernel       = kernel.AssertNotNull();
     GridDim      = gridDim;
     BlockIdx     = blockIdx;
     BlockDim     = blockDim;
     ThreadIdx    = threadIdx;
     WorkerThread = workerThread.AssertNotNull();
 }
Example #2
0
 public KernelThreadException(IKernel kernel, dim3? gridDim, int3? blockIdx, dim3? blockDim, int3? threadIdx, String workerThread, Exception innerException)
     : base(null, innerException)
 {
     Kernel = kernel.AssertNotNull();
     GridDim = gridDim;
     BlockIdx = blockIdx;
     BlockDim = blockDim;
     ThreadIdx = threadIdx;
     WorkerThread = workerThread.AssertNotNull();
 }