fix: fix a miss "{" bug
This commit is contained in:
@@ -263,7 +263,7 @@ void SAFTHandler::processAScans(ullong &duration ///< This argument is written
|
|||||||
// ==== Coordinates / Geometry - Blockdata
|
// ==== Coordinates / Geometry - Blockdata
|
||||||
int deviceListEmitterGeometrySize = emitter_list_Size * sizeof(float3); // Size of ListEmitterGeometry
|
int deviceListEmitterGeometrySize = emitter_list_Size * sizeof(float3); // Size of ListEmitterGeometry
|
||||||
int deviceListReceiverGeometrySize = receiver_list_Size * sizeof(float3); // Size of ListReceiverGeometry
|
int deviceListReceiverGeometrySize = receiver_list_Size * sizeof(float3); // Size of ListReceiverGeometry
|
||||||
|
|
||||||
CUDA_CHECK(cudaMemcpyToSymbol(constEmitterPtr, emitter_list, deviceListEmitterGeometrySize, 0, cudaMemcpyHostToDevice));
|
CUDA_CHECK(cudaMemcpyToSymbol(constEmitterPtr, emitter_list, deviceListEmitterGeometrySize, 0, cudaMemcpyHostToDevice));
|
||||||
CUDA_CHECK(cudaMemcpyToSymbol(constReceiverPtr, receiver_list, deviceListReceiverGeometrySize, 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
|
//======================================================================================================= Memory allocation on GPU Device for - SOS 3DVolume-Data
|
||||||
|
|
||||||
if (SOSMode_3DVolume == true) // ====================================== 3DVolume Mode with SOS-Correction
|
if (SOSMode_3DVolume == true) // ====================================== 3DVolume Mode with SOS-Correction
|
||||||
|
{
|
||||||
struct cudaMemcpy3DParms copyParams = {0};
|
struct cudaMemcpy3DParms copyParams = {0};
|
||||||
cudaChannelFormatDesc texChannelDescSosAttField = cudaCreateChannelDesc(32, 32, 0, 0, cudaChannelFormatKindFloat); // Schritt 2.1 Output-Kanal anlegen und beschreiben
|
cudaChannelFormatDesc texChannelDescSosAttField = cudaCreateChannelDesc(32, 32, 0, 0, cudaChannelFormatKindFloat); // Schritt 2.1 Output-Kanal anlegen und beschreiben
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user