From b599153837ef3bda2d8c0e591fb8d5a7c62976cf Mon Sep 17 00:00:00 2001 From: kradchen Date: Thu, 21 Nov 2024 10:25:45 +0800 Subject: [PATCH] fix: fix a miss "{" bug --- SAFT_TOFI/src/processAScans.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SAFT_TOFI/src/processAScans.cpp b/SAFT_TOFI/src/processAScans.cpp index 9973dfc..f3abe10 100644 --- a/SAFT_TOFI/src/processAScans.cpp +++ b/SAFT_TOFI/src/processAScans.cpp @@ -263,7 +263,7 @@ void SAFTHandler::processAScans(ullong &duration ///< This argument is written // ==== Coordinates / Geometry - Blockdata int deviceListEmitterGeometrySize = emitter_list_Size * sizeof(float3); // Size of ListEmitterGeometry int deviceListReceiverGeometrySize = receiver_list_Size * sizeof(float3); // Size of ListReceiverGeometry - + CUDA_CHECK(cudaMemcpyToSymbol(constEmitterPtr, emitter_list, deviceListEmitterGeometrySize, 0, cudaMemcpyHostToDevice)); CUDA_CHECK(cudaMemcpyToSymbol(constReceiverPtr, receiver_list, deviceListReceiverGeometrySize, 0, cudaMemcpyHostToDevice)); @@ -344,6 +344,7 @@ void SAFTHandler::processAScans(ullong &duration ///< This argument is written //======================================================================================================= Memory allocation on GPU Device for - SOS 3DVolume-Data if (SOSMode_3DVolume == true) // ====================================== 3DVolume Mode with SOS-Correction + { struct cudaMemcpy3DParms copyParams = {0}; cudaChannelFormatDesc texChannelDescSosAttField = cudaCreateChannelDesc(32, 32, 0, 0, cudaChannelFormatKindFloat); // Schritt 2.1 Output-Kanal anlegen und beschreiben