38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
// Copyright (2019-2023) Paul Scherrer Institute
|
|
|
|
#ifndef JFJOCH_USE_CUDA
|
|
|
|
#include "GPUImageAnalysis.h"
|
|
|
|
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) :
|
|
xpixels(in_xpixels), ypixels(in_ypixels), gpu_out(nullptr), rad_integration_nbins(0) {
|
|
}
|
|
|
|
GPUImageAnalysis::~GPUImageAnalysis() {}
|
|
|
|
void GPUImageAnalysis::SetInputBuffer(void *ptr) {}
|
|
|
|
bool GPUImageAnalysis::GPUPresent() {
|
|
return false;
|
|
}
|
|
|
|
void GPUImageAnalysis::RunSpotFinder(const JFJochProtoBuf::DataProcessingSettings &settings) {}
|
|
|
|
void GPUImageAnalysis::GetSpotFinderResults(StrongPixelSet &pixel_set) {}
|
|
|
|
void GPUImageAnalysis::GetSpotFinderResults(const DiffractionExperiment &experiment,
|
|
const JFJochProtoBuf::DataProcessingSettings &settings,
|
|
std::vector<DiffractionSpot> &vec) {}
|
|
|
|
void GPUImageAnalysis::RegisterBuffer() {}
|
|
|
|
void GPUImageAnalysis::UnregisterBuffer() {}
|
|
|
|
void GPUImageAnalysis::LoadDataToGPU(bool apply_pixel_mask_on_gpu) {}
|
|
|
|
#endif
|