GPUImageAnalysis: Fix to allow compilation without CUDA
This commit is contained in:
@@ -8,20 +8,18 @@ struct CudaStreamWrapper {
|
||||
int32_t just_anything_as_this_wont_be_used;
|
||||
};
|
||||
|
||||
GPUImageAnalysis::GPUImageAnalysis(int32_t in_xpixels, int32_t in_ypixels, const std::vector<uint8_t> &mask,
|
||||
int32_t gpu_device) :
|
||||
GPUImageAnalysis::GPUImageAnalysis(int32_t in_xpixels, int32_t in_ypixels, const std::vector<uint8_t> &mask) :
|
||||
xpixels(in_xpixels), ypixels(in_ypixels), gpu_out(nullptr), rad_integration_nbins(0) {
|
||||
}
|
||||
|
||||
GPUImageAnalysis::GPUImageAnalysis(int32_t xpixels, int32_t ypixels, const std::vector<uint8_t> &mask,
|
||||
const std::vector<uint16_t> &rad_int_mapping, uint16_t rad_int_nbins,
|
||||
int32_t gpu_device) : GPUImageAnalysis(xpixels, ypixels, mask, gpu_device) {}
|
||||
const std::vector<uint16_t> &rad_int_mapping, uint16_t rad_int_nbins)
|
||||
: GPUImageAnalysis(xpixels, ypixels, mask) {}
|
||||
|
||||
GPUImageAnalysis::GPUImageAnalysis(int32_t xpixels, int32_t ypixels, const std::vector<uint8_t> &mask,
|
||||
const RadialIntegrationMapping& mapping,
|
||||
int32_t gpu_device)
|
||||
const RadialIntegrationMapping& mapping)
|
||||
: GPUImageAnalysis(xpixels, ypixels, mask, mapping.GetPixelToBinMapping(),
|
||||
mapping.GetBinNumber(), gpu_device) {}
|
||||
mapping.GetBinNumber()) {}
|
||||
|
||||
GPUImageAnalysis::~GPUImageAnalysis() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user