diff --git a/SYCL/ESIMD/api/functional/ctors/ctor_vector_core.cpp b/SYCL/ESIMD/api/functional/ctors/ctor_vector_core.cpp index 0f8f12e275..a727834ba2 100644 --- a/SYCL/ESIMD/api/functional/ctors/ctor_vector_core.cpp +++ b/SYCL/ESIMD/api/functional/ctors/ctor_vector_core.cpp @@ -33,8 +33,7 @@ int main(int, char **) { sycl::device device = queue.get_device(); // verify aspect::fp16 due to using sycl::half data type // verify aspect::fp64 due to using double data type - if (!device.is_host() && !device.has(sycl::aspect::fp16) && - !device.has(sycl::aspect::fp64)) { + if (!device.has(sycl::aspect::fp16) && !device.has(sycl::aspect::fp64)) { std::cout << "Test skipped\n"; return 0; } diff --git a/SYCL/ESIMD/esimd_test_utils.hpp b/SYCL/ESIMD/esimd_test_utils.hpp index 1c64904d6d..73df79bda1 100644 --- a/SYCL/ESIMD/esimd_test_utils.hpp +++ b/SYCL/ESIMD/esimd_test_utils.hpp @@ -35,17 +35,14 @@ namespace esimd_test { // was returned for all devices, then the selection process will cause an // exception. class ESIMDSelector : public device_selector { - // Require GPU device unless HOST is requested in SYCL_DEVICE_FILTER env + // Require GPU device virtual int operator()(const device &device) const { if (const char *dev_filter = getenv("SYCL_DEVICE_FILTER")) { std::string filter_string(dev_filter); if (filter_string.find("gpu") != std::string::npos) return device.is_gpu() ? 1000 : -1; - if (filter_string.find("host") != std::string::npos) - return device.is_host() ? 1000 : -1; std::cerr - << "Supported 'SYCL_DEVICE_FILTER' env var values are 'gpu' and " - "'host', '" + << "Supported 'SYCL_DEVICE_FILTER' env var values is 'gpu' and '" << filter_string << "' does not contain such substrings.\n"; return -1; }