You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static_assert(sizeof(GPUParam) % alignof(GPUConstantMem) == 0 && sizeof(GPUParamRTC) % alignof(GPUConstantMem) == 0, "Size of both GPUParam and of GPUParamRTC must be a multiple of the alignmeent of GPUConstantMem");
mDeviceConstantMem = (GPUConstantMem*)devPtrConstantMemRTC; // TODO: This is a hack, since the memory is sometimes addressed via the pointer from the kernel, should be made consistent!
480
477
if (mProcessingSettings.enableRTC) {
481
478
mDeviceConstantMemRTC.resize(1);
482
479
mDeviceConstantMemRTC[0] = devPtrConstantMemRTC;
@@ -533,10 +530,6 @@ int GPUReconstructionCUDABackend::ExitDevice_Runtime()
533
530
GPUFailedMsgI(cudaFree(mDeviceMemoryBase));
534
531
#ifdef GPUCA_NO_CONSTANT_MEMORY
535
532
GPUFailedMsgI(cudaFree(mDeviceConstantMem));
536
-
for (unsignedint i = 0; i < mDeviceConstantMemRTC.size(); i++) {
0 commit comments