Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Skip tests required OpenCL if GPU is not available
  • Loading branch information
PokhodenkoSA committed Apr 2, 2021
commit c1fa10e51072691f9ec2f34a80d7beff46e208e3
1 change: 1 addition & 0 deletions dpctl/tests/test_sycl_queue_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def test_is_in_device_context_inside_nested_device_ctxt(self):


@unittest.skipIf(not has_sycl_platforms(), "No SYCL platforms available")
@unittest.skipUnless(has_gpu(), "No OpenCL GPU queues available")
class TestGetCurrentDevice(unittest.TestCase):
def test_get_current_device_type_outside_device_ctxt(self):
self.assertNotEqual(dpctl.get_current_device_type(), None)
Expand Down