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
15
namespace
correlation::calculators::sycl_gpu
{
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
correlation::calculators::sycl_gpu
Definition
SYCLAngleCalculator.hpp:17
correlation::calculators::sycl_gpu::hasSyclGpuDevice
bool hasSyclGpuDevice() noexcept
Checks if a compatible SYCL GPU device (NVIDIA, AMD, Intel) is available at runtime.
Definition
SYCLUtils.cpp:13
include
calculators
gpu
SYCLUtils.hpp
Generated by
1.15.0