change SAFT
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include <mex.h>
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
@@ -318,7 +318,7 @@ void SAFTHandler::performReconstruction()
|
||||
|
||||
// if(batchSize > aScanCount) // Abfrage macht keinen Sinn mehr wenn batchSize = aScanCount;
|
||||
// {
|
||||
// mexErrMsgTxt("A-scan window size cannot be larger than the total number of A-scans");
|
||||
// printf("A-scan window size cannot be larger than the total number of A-scans");
|
||||
// //throw ail::exception("A-scan window size cannot be larger than the total number of A-scans");
|
||||
// }
|
||||
|
||||
@@ -541,12 +541,12 @@ void SAFTHandler::partialReconstructionInitialisation()
|
||||
//
|
||||
// partialOutputVoxelCount = partialOutputSize / sizeof(double);
|
||||
//// if(partialOutputVoxelCount % zLayerVoxelCount != 0) //Sicherheitsabfrage nun im kernel
|
||||
//// mexErrMsgTxt("The partial output size must consist of a discrete number of z-layers for the chosen resolution");
|
||||
//// printf("The partial output size must consist of a discrete number of z-layers for the chosen resolution");
|
||||
// //throw ail::exception("The partial output size must consist of a discrete number of z-layers for the chosen resolution");
|
||||
// partialOutputZLayerCount = partialOutputVoxelCount / zLayerVoxelCount;
|
||||
//
|
||||
//// if(partialOutputZLayerCount % genericSAFTBlockDimensions.z != 0) //Sicherheitsabfrage nun im kernel
|
||||
//// mexErrMsgTxt("The number of Z-layers in the output window must be a multiple of the reconstruction block dimensions");
|
||||
//// printf("The number of Z-layers in the output window must be a multiple of the reconstruction block dimensions");
|
||||
// //throw ail::exception("The number of Z-layers in the output window must be a multiple of the reconstruction block dimensions");
|
||||
//
|
||||
// //Make dynamically sized allocations for the pre-calculated speed of sound data.
|
||||
@@ -644,7 +644,7 @@ void performCUDAResultCheck(
|
||||
|
||||
//std::string errorMessage = "A CUDA operation failed in file \"" + file + "\" (line " + ail::number_to_string(line) + "): " + std::string(cudaGetErrorString(result));
|
||||
//std::cout << errorMessage << std::endl;
|
||||
mexErrMsgTxt("-> Error occurred");
|
||||
printf("-> Error occurred");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user