Skip to content

Commit b9eff6d

Browse files
committed
Get rid of 'has_aspect_host' property in tests
1 parent 5139df1 commit b9eff6d

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

dpnp/backend/kernels/dpnp_krnl_arraycreation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//*****************************************************************************
2-
// Copyright (c) 2016-2023, Intel Corporation
2+
// Copyright (c) 2016-2022, Intel Corporation
33
// All rights reserved.
44
//
55
// Redistribution and use in source and binary forms, with or without

dpnp/backend/src/dpnpc_memory_adapter.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030
#include "queue_sycl.hpp"
3131
#include "dpnp_utils.hpp"
3232

33-
static_assert(__SYCL_COMPILER_VERSION >= __SYCL_COMPILER_VERSION_REQUIRED,
34-
"The compiler does not meet minimum version requirement");
35-
3633
/**
3734
* @ingroup BACKEND_UTILS
3835
* @brief Adapter for the memory given by parameters in the DPNPC functions

dpnp/backend/src/queue_sycl.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
#include "queue_sycl.hpp"
3232
#include "dpnp_utils.hpp"
3333

34-
static_assert(__SYCL_COMPILER_VERSION >= __SYCL_COMPILER_VERSION_REQUIRED,
35-
"The compiler does not meet minimum version requirement");
36-
3734
#if defined(DPNP_LOCAL_QUEUE)
3835
sycl::queue* backend_sycl::queue = nullptr;
3936
#endif

tests/test_sycl_queue.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717
"cpu",
1818
]
1919

20-
available_devices = [d for d in dpctl.get_devices() if not d.has_aspect_host]
21-
2220
valid_devices = []
23-
for device in available_devices:
21+
for device in dpctl.get_devices():
2422
if device.default_selector_score < 0:
2523
pass
2624
elif device.backend.name not in list_of_backend_str:

0 commit comments

Comments
 (0)