Open antonwolfy opened 6 months ago
Note, that the message does not show with DPC++ 2024.1:
(dev_dpctl) opavlyk@opavlyk-mobl:~/repos/application_examples/kde$ ipython
Python 3.12.3 | packaged by conda-forge | (main, Apr 15 2024, 18:38:13) [GCC 12.3.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.24.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import dpctl.tensor as dpt
In [2]: x = dpt.ones(10, device='cpu')
In [3]: dpt.cumulative_logsumexp(x)
Out[3]:
usm_ndarray([1. , 1.69314718, 2.09861229, 2.38629436, 2.60943791,
2.79175947, 2.94591015, 3.07944154, 3.19722458, 3.30258509])
In [4]: !icpx --version
Intel(R) oneAPI DPC++/C++ Compiler 2024.1.0 (2024.1.0.20240308)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/intel/oneapi/compiler/2024.1/bin/compiler
Configuration file: /opt/intel/oneapi/compiler/2024.1/bin/compiler/../icpx.cfg
In [5]: !sycl-ls
[opencl:acc:0] Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device OpenCL 1.2 [2024.17.3.0.08_160000]
[opencl:cpu:1] Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz OpenCL 3.0 (Build 0) [2024.17.3.0.08_160000]
The below warning is raised from
cumulative_logsumexp
call during the first launch on CPU device:There is no warning when running on OCL or L0 GPU.
Environment details
```bash $ conda list # packages in environment at /home/xantvol/miniconda3/envs/dpnp_dev: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge intel _openmp_mutex 4.5 2_gnu intel _sysroot_linux-64_curr_repodata_hack 3 h69a702a_14 conda-forge astroid 3.0.3 pypi_0 pypi asttokens 2.4.1 pyhd8ed1ab_0 conda-forge attrs 23.2.0 pyh71513ae_0 conda-forge beautifulsoup4 4.12.3 pyha770c72_0 conda-forge brotli-python 1.1.0 py39h3d6467e_1 intel bzip2 1.0.8 hb9a14ef_9 intel c-ares 1.26.0 hd590300_0 intel ca-certificates 2024.2.2 hbcca054_0 intel certifi 2024.2.2 pyhd8ed1ab_0 intel cffi 1.16.0 py39h7a31438_0 intel cfgv 3.3.1 pypi_0 pypi chardet 5.2.0 py39hf3d152e_1 intel charset-normalizer 3.3.2 pyhd8ed1ab_0 intel click 8.0.4 py39h06a4308_0 intel cmake 3.29.2 h91dbaaa_1 conda-forge codespell 2.2.6 pypi_0 pypi colorama 0.4.6 pyhd8ed1ab_0 intel conda 23.3.1 py39h535c160_1 http://satpkgserver.an.intel.com:8081 conda-build 24.1.2 py39hf3d152e_0 conda-forge conda-index 0.4.0 pyhd8ed1ab_0 conda-forge conda-package-handling 2.2.0 pyh38be061_0 intel conda-package-streaming 0.9.0 pyhd8ed1ab_0 intel coverage 5.5 py39h27cfd23_2 intel cpplint 1.6.1 pypi_0 pypi cryptography 42.0.4 py39hd4f0224_0 intel cython 3.0.8 py39h3d6467e_0 intel decorator 5.0.9 pyhd3eb1b0_0 intel dill 0.3.8 pypi_0 pypi distlib 0.3.6 pypi_0 pypi distro 1.9.0 pyhd8ed1ab_0 conda-forge dpcpp-cpp-rt 2024.2.0 intel_684 http://satpkgserver.an.intel.com:8081 dpcpp-sycl-rt 2024.2.0 intel_684 http://satpkgserver.an.intel.com:8081 dpcpp_cpp_rt 2024.2.0 intel_684 http://satpkgserver.an.intel.com:8081 dpcpp_impl_linux-64 2024.2.0 intel_684 http://satpkgserver.an.intel.com:8081 dpcpp_linux-64 2024.2.0 intel_684 http://satpkgserver.an.intel.com:8081 dpctl 0.17.0dev0 py39h15de555_331 dppy/label/dev dpnp 0.15.0.dev1+51.gad8d1c3033.dirty dev_0Is it expected to have such kind of warning here?