Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 6 dpctl/tests/test_sycl_queue_manager.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Data Parallel Control (dpctl)
#
# Copyright 2020-2022 Intel Corporation
# Copyright 2020-2023 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -69,8 +69,8 @@ def test_is_in_device_context_inside_nested_device_ctxt_cpu():
n = cpu.max_compute_units
n_half = n // 2
try:
d0, d1 = cpu.create_subdevices(partition=[n_half, n - n_half])
except Exception:
d0, d1 = cpu.create_sub_devices(partition=[n_half, n - n_half])
except dpctl.SyclSubDeviceCreationError:
pytest.skip("Could not create subdevices")
assert 0 == dpctl.get_num_activated_queues()
with dpctl.device_context(d0):
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.