Hi, I am having issues getting code to run on the gpu (Intel HD630). Seems to run fine on cpu. Python REPL just quits with no error.
(intel) PS C:\Users\xyz> python
Python 3.10.14 | packaged by conda-forge | (tags/v3.10.14-25-ge98930d7387-dirty:e98930d7387, May 24 2024, 17:38:39) [MSC v.1929 64 bit (AMD64)] :: Intel Corporation on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import dpctl
>>> import dpnp as np
>>> dpctl.get_devices()
[<dpctl.SyclDevice [backend_type.opencl, device_type.cpu, Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz] at 0x243e541eab0>, <dpctl.SyclDevice [backend_type.opencl, device_type.gpu, Intel(R) UHD Graphics 630] at 0x243e5fd8b30>]
>>> x = np.array((1,2,3), dtype=np.float32, device="gpu")
>>> x.device
Device(opencl:gpu:0)
>>> y = x.to_device("cpu")
>>> y.device
Device(opencl:cpu:0)
>>> y**2 # cpu works fine
array([1., 4., 9.], dtype=float32)
>>> z = y**2
>>> z.device
Device(opencl:cpu:0)
>>> x**2 # <- using gpu for computation: program quits
(intel) PS C:\Users\xyz>
Environment is miniconda with the intel repository, then just installed python 3.10 and numba-dpex (which pulls in dpnp).
Any ideas? I already tried installing and using the intel distribution for python. Drivers are updated to 31.0.101.2130 (latest available for my windows version, win10 1809) and similar code in pyopencl works fine. Am I missing some opencl driver/compiler that I am not aware of?
Hi, I am having issues getting code to run on the gpu (Intel HD630). Seems to run fine on cpu. Python REPL just quits with no error.
Environment is miniconda with the intel repository, then just installed python 3.10 and numba-dpex (which pulls in dpnp).
Any ideas? I already tried installing and using the intel distribution for python. Drivers are updated to 31.0.101.2130 (latest available for my windows version, win10 1809) and similar code in pyopencl works fine. Am I missing some opencl driver/compiler that I am not aware of?