kokkos-kernels icon indicating copy to clipboard operation
kokkos-kernels copied to clipboard

Error: memory space SYCLDeviceUSM does not support querying free/total memory.

Open jczhang07 opened this issue 3 years ago • 2 comments

On a machine with Intel integrated GPUs, when I call KokkosSparse::spgemm_symbolic(), I meet,

Error: memory space SYCLDeviceUSM does not support querying free/total memory. I use origin/develop of both Kokkos and Kokkos-Kernels.

jczhang07 avatar Mar 09 '22 16:03 jczhang07

The relevant code is https://github.com/kokkos/kokkos-kernels/blob/1f7a45e00f5be82c87ff74bf14b7d217b37c985b/src/common/KokkosKernels_ExecSpaceUtils.hpp#L212-L260 Do you specify the architecture to be an Intel GPU (and thus implicitly defining KOKKOS_ARCH_INTEL_GPU)?

masterleinad avatar Mar 09 '22 16:03 masterleinad

I used JIT so I did not have KOKKOS_ARCH_INTEL_GPU. Let me check with AOT.

jczhang07 avatar Mar 09 '22 23:03 jczhang07