fix: fix a miss "{" bug

This commit is contained in:
kradchen
2024-11-21 10:25:45 +08:00
parent 82a2a9e132
commit b599153837

View File

@@ -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