Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
SYCLUtils.hpp
Go to the documentation of this file.
1
8
9#pragma once
10
11#ifdef CORRELATION_USE_SYCL
12#include <sycl/sycl.hpp>
13#endif
14
16
20[[nodiscard]] bool hasSyclGpuDevice() noexcept;
21
22#ifdef CORRELATION_USE_SYCL
26[[nodiscard]] sycl::queue &get_sycl_queue();
27#endif
28
29} // namespace correlation::calculators::sycl_gpu
Definition SYCLAngleCalculator.hpp:17
bool hasSyclGpuDevice() noexcept
Checks if a compatible SYCL GPU device (NVIDIA, AMD, Intel) is available at runtime.
Definition SYCLUtils.cpp:13