mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-09-24 18:01:52 +00:00
Fix OpenCL test if the OpenCL Platform is not ready
This commit is contained in:
@@ -144,6 +144,12 @@ public:
|
||||
|
||||
void set_resampler_latency(uint32_t latency_samples __attribute__((unused))) override{};
|
||||
|
||||
inline bool opencl_ready() const
|
||||
{
|
||||
bool ready = this->acquisition_cc_->opencl_ready();
|
||||
return ready;
|
||||
}
|
||||
|
||||
private:
|
||||
ConfigurationInterface* configuration_;
|
||||
pcps_opencl_acquisition_cc_sptr acquisition_cc_;
|
||||
|
||||
Reference in New Issue
Block a user