Skip to content

Commit 53eabe6

Browse files
committed
Merge branch 'master' into feature/tensor-accumulation
2 parents 1dbc65c + 54c98a3 commit 53eabe6

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/conda-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ jobs:
415415
runs-on: ${{ matrix.runner }}
416416
strategy:
417417
matrix:
418-
python: ['3.9']
418+
python: ['3.10']
419419
experimental: [false]
420420
runner: [ubuntu-20.04]
421421
continue-on-error: ${{ matrix.experimental }}
@@ -468,7 +468,7 @@ jobs:
468468
- name: Install example requirements
469469
shell: bash -l {0}
470470
env:
471-
DPCPP_CMPLR: dpcpp_linux-64">=2024.0.0,<2024.0.1"
471+
DPCPP_CMPLR: dpcpp_linux-64">=2024.0"
472472
run: |
473473
CHANNELS="${{ env.CHANNELS }}"
474474
. $CONDA/etc/profile.d/conda.sh

dpctl/__main__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ def _dpctl_dir() -> str:
3030

3131

3232
def get_include_dir() -> str:
33-
"Prints include flags for dpctl and SyclInterface library"
33+
"Prints include flags for dpctl and DPCTLSyclInterface library"
3434
return os.path.join(_dpctl_dir(), "include")
3535

3636

3737
def print_include_flags() -> None:
38-
"Prints include flags for dpctl and SyclInterface library"
38+
"Prints include flags for dpctl and DPCTLSyclInterface library"
3939
print("-I " + get_include_dir())
4040

4141

@@ -46,13 +46,13 @@ def get_tensor_include_dir() -> str:
4646

4747

4848
def print_tensor_include_flags() -> None:
49-
"Prints include flags for dpctl and SyclInterface library"
49+
"Prints include flags for dpctl and DPCTLSyclInterface library"
5050
libtensor_dir = get_tensor_include_dir()
5151
print("-I " + libtensor_dir)
5252

5353

5454
def print_cmake_dir() -> None:
55-
"Prints directory with FindDpctl.cmake"
55+
"Prints directory with dpctl-config.cmake"
5656
dpctl_dir = _dpctl_dir()
5757
cmake_dir = os.path.join(dpctl_dir, "resources", "cmake")
5858
print(cmake_dir)
@@ -64,13 +64,13 @@ def get_library_dir() -> str:
6464

6565

6666
def print_library() -> None:
67-
"Prints linker flags for SyclInterface library"
67+
"Prints linker flags for DPCTLSyclInterface library"
6868
dpctl_dir = get_library_dir()
6969
plt = platform.platform()
7070
ld_flags = "-L " + dpctl_dir
7171
if plt != "Windows":
7272
ld_flags = ld_flags + " -Wl,-rpath," + dpctl_dir
73-
print(ld_flags + " -lSyclInterface")
73+
print(ld_flags + " -lDPCTLSyclInterface")
7474

7575

7676
def _warn_if_any_set(args, li) -> None:

dpctl/tests/test_service.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ def test_main_library():
205205
)
206206
assert res.returncode == 0
207207
assert res.stdout
208-
assert res.stdout.decode("utf-8").startswith("-L")
208+
output = res.stdout.decode("utf-8")
209+
assert output.startswith("-L")
210+
assert "DPCTLSyclInterface" in output
209211

210212

211213
def test_tensor_includes():

0 commit comments

Comments
 (0)