Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 48740e3

Browse files
authored
Rename PyDPPL/dppl to dpCtl/dpctl (#49)
* Rename import from dppl to dpctl * Rename in meta.yaml pydppl to dpctl * Rename dependant package in readme from pydppl to dpCtl * Rename backend in readme from PyDPPL to dpCtl
1 parent da0b600 commit 48740e3

37 files changed

Lines changed: 42 additions & 43 deletions

‎README.rst‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,17 @@ Make sure the following dependencies of NUMBA-PyDPPL are installed
4747
in your conda environemtn:
4848

4949
- llvmlite =0.33
50-
- pydppl =0.2
5150
- spirv-tools
5251
- llvm-spirv
5352
- llvmdev
53+
- dpCtl =0.3
5454

5555
Make sure the dependencies are installed with consistent version of LLVM 10.
5656

57-
Install PyDPPL backend
58-
***********************
59-
NUMBA-PyDPPL also depend on PyDPPL backend. It can be found `here <https://github.com/IntelPython/PyDPPL>`_.
60-
Please run `build_for_develop.sh` to install PyDPPL backend in development mode
61-
or install PyDPPL from package.
57+
Install dpCtl backend
58+
*********************
59+
NUMBA-PyDPPL also depend on dpCtl backend. It can be found `here <https://github.com/IntelPython/dpCtl>`_.
60+
Please install dpCtl from package.
6261

6362
Install NUMBA-PyDPPL
6463
********************

‎buildscripts/condarecipe.pydppl/meta.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ requirements:
3535
- llvmlite >=0.31.*
3636
# TBB devel version is to match TBB libs
3737
- tbb-devel >=2019.5 # [not ((armv6l or armv7l or aarch64) or (win and py27))]
38-
- pydppl
38+
- dpctl
3939
run:
4040
- python >=3.6
4141
- numpy >=1.17
4242
- setuptools
4343
# On channel https://anaconda.org/numba/
4444
- llvmlite >=0.31.*
45-
- pydppl
45+
- dpctl
4646
- spirv-tools
4747
- llvm-spirv
4848
run_constrained:

‎numba/dppl/compiler.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from types import FunctionType
1111
from inspect import signature
1212

13-
import dppl.ocldrv as driver
13+
import dpctl.ocldrv as driver
1414
from . import spirv_generator
1515

1616
import os

‎numba/dppl/device_init.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from . import initialize
2424

2525
from .decorators import kernel, func, autojit
26-
from dppl.ocldrv import runtime
26+
from dpctl.ocldrv import runtime
2727
from . import target
2828

2929

‎numba/dppl/dppl_host_fn_call_gen.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import print_function, division, absolute_import
22

3-
import dppl.ocldrv as driver
3+
import dpctl.ocldrv as driver
44
import llvmlite.llvmpy.core as lc
55
import llvmlite.ir.values as liv
66
import llvmlite.ir as lir

‎numba/dppl/dppl_lowerer.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
from .target import SPIR_GENERIC_ADDRSPACE
4141
from .dufunc_inliner import dufunc_inliner
4242
from . import dppl_host_fn_call_gen as dppl_call_gen
43-
import dppl.ocldrv as driver
43+
import dpctl.ocldrv as driver
4444
from numba.dppl.target import DPPLTargetContext
4545

4646

‎numba/dppl/examples/dppy_func.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from numba import dppl
44
import math
55

6-
import dppl.ocldrv as ocldrv
6+
import dpctl.ocldrv as ocldrv
77

88

99
@dppl.func

‎numba/dppl/examples/matmul.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import sys
66
import numpy as np
77
from numba import dppl
8-
import dppl.ocldrv as ocldrv
8+
import dpctl.ocldrv as ocldrv
99

1010

1111
@dppl.kernel

‎numba/dppl/examples/pairwise_distance.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import timeit
88

99
from numba import dppl
10-
import dppl.ocldrv as ocldrv
10+
import dpctl.ocldrv as ocldrv
1111

1212
parser = argparse.ArgumentParser(description='Program to compute pairwise distance')
1313

‎numba/dppl/examples/sum-hybrid.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import sys
66
import numpy as np
77
from numba import dppl
8-
import dppl.ocldrv as ocldrv
8+
import dpctl.ocldrv as ocldrv
99

1010

1111
@dppl.kernel

0 commit comments

Comments
 (0)