feat: refactor precalculateAverageSpeed functions, remove redudent args

This commit is contained in:
kradchen
2024-11-29 15:28:09 +08:00
parent b599153837
commit c83c161bc6
6 changed files with 25 additions and 53 deletions

View File

@@ -30,15 +30,12 @@ extern texture<float4, cudaTextureType3D, cudaReadModeElementType> texTableVoxel
extern texture<float4, cudaTextureType3D, cudaReadModeElementType> texTableVoxelToReceiverPathSosBoth1_preprocess;
extern texture<float4, cudaTextureType3D, cudaReadModeElementType> texTableVoxelToReceiverPathSosBoth2_preprocess;
__global__ void precalculateAverageSpeedOfSoundKernel(cudaArray *deviceSosAttFieldCuArray,
int firstZLayer,
__global__ void precalculateAverageSpeedOfSoundKernel(int firstZLayer,
int sosZLayerCount,
int geometry,
int geometryElementCount,
int maxSoSReceiverArrayForTexture,
float *deviceVoxelCountOutputFloat,
float *speedOfSoundSumOutput,
int3 SOSGrid_XYZ, float3 sosOffset, float3 regionOfInterestOffset, float IMAGE_RESOLUTION, float SOS_RESOLUTION, float debugMode,
float3 sosOffset, float3 regionOfInterestOffset, float IMAGE_RESOLUTION, float SOS_RESOLUTION, float debugMode,
float debugModeParameter);
__global__ void precalculateAscanIndex_usePathsKernel(int ascanIndexBatchOffset,