示例#1
0
 private void update(ColumnDefinition definition) {
   AtomicBoolean present = predefined.get(definition);
   if (present != null) {
     if (!present.get()) present.set(true);
   } else {
     extra.add(definition);
   }
 }
示例#2
0
 public CUfunction getKernelFunction(Kernel f) {
   CUfunction function = kernels.get(f);
   if (function == null) throw new CudaException("No such function " + f);
   return function;
 }