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