gpuNUFFT::GpuNUFFTInfo * gpuNUFFT::TextureGpuNUFFTOperator::initAndCopyGpuNUFFTInfo(int n_coils_cc) { gpuNUFFT::GpuNUFFTInfo *gi_host = initGpuNUFFTInfo(n_coils_cc); gi_host->interpolationType = interpolationType; gi_host->sectorsToProcess = gi_host->sector_count; if (DEBUG) printf("copy GpuNUFFT Info to symbol memory... size = %ld \n", sizeof(gpuNUFFT::GpuNUFFTInfo)); initConstSymbol("GI", gi_host, sizeof(gpuNUFFT::GpuNUFFTInfo)); if (DEBUG) printf("...done!\n"); return gi_host; }
void gpuNUFFT::GpuNUFFTOperator::initLookupTable() { initConstSymbol("KERNEL",(void*)this->kernel.data,this->kernel.count()*sizeof(DType)); }