15 #include <string_view>
18 inline namespace _V1 {
23 namespace ext::intel {
30 required_platform_name)
38 _putenv_s(
"CL_CONTEXT_MPSIM_DEVICE_INTELFPGA",
"1");
40 setenv(
"CL_CONTEXT_MPSIM_DEVICE_INTELFPGA",
"1", 0);
51 : device_platform_name(platform_name) {}
59 "Intel(R) FPGA Emulation Platform for OpenCL(TM)";
61 "Intel(R) FPGA SDK for OpenCL(TM)";
72 static bool IsFirstCall =
true;
82 :
public platform_selector {
89 fpga_emulator_selector :
public platform_selector {
96 fpga_simulator_selector :
public fpga_selector {
98 fpga_simulator_selector() {
The SYCL device class encapsulates a single SYCL device on which kernels may be executed.
platform get_platform() const
Get associated SYCL platform.
#define __SYCL2020_DEPRECATED(message)
void enableFPGASimulator()
int selectDeviceByPlatform(std::string_view required_platform_name, const device &device)
int fpga_emulator_selector_v(const device &device)
int fpga_selector_v(const device &device)
int fpga_simulator_selector_v(const device &device)
static constexpr auto HARDWARE_PLATFORM_NAME
static constexpr auto EMULATION_PLATFORM_NAME
signed char __SYCL2020_DEPRECATED