drop dpctl support from examples
@@ -32,7 +32,7 @@ except:
read_csv = lambda f, c=None, t=np.float64: np.loadtxt(f, usecols=c, delimiter=',', ndmin=2)
try:
- from dpctl import device_context, device_type
+ from dpctx import device_context, device_type
with device_context(device_type.gpu, 0):
gpu_available=True
except:
@@ -79,7 +79,7 @@ def main(readcsv=read_csv, method='defaultDense'):
data = to_numpy(data)
try:
- from dpctl import device_context, device_type
+ from dpctx import device_context, device_type
gpu_context = lambda: device_context(device_type.gpu, 0)
cpu_context = lambda: device_context(device_type.cpu, 0)
except:
