0

I saw this include in some sycl projects using oneMKL library and it is also used by other intel's libraries like dpct.

However browsing oneMKL source code I don't find this file under oneapi/mkl/rng. Where is it ?

Elle
  • 305
  • 2
  • 10

1 Answers1

0

Looks like you're on Linux: /opt/intel/oneapi/mkl/latest/include/oneapi/mkl/rng

on Windows: c:\Program Files (x86)\Intel\oneAPI\mkl\latest\include\oneapi\mkl\rng

TonyM
  • 366
  • 1
  • 4
  • Hello, I'm on Linux but I compiled oneMKL, oneTBB and so on myself because I'm using llvm clang++ to target NVidia GPUs. Is the version of oneMKL available on GitHub different from the one you're referring to? – Elle Jun 18 '22 at 19:35
  • No but on GitHub is just the interfaces. I’m referring to the oneAPI base toolkit installation. – TonyM Jun 19 '22 at 08:38
  • Thanks for you answer. However I don't want to install the base toolkit, I'm instead installing myself llvm, onetbb, onemkl, onedbb and so on. Essentially I don't want to use dpcpp as a compiler, so is there a way to get oneMKL as it is in the base toolkit ? I'm not sure I understand the difference between the open source version and the base toolkit – Elle Jun 19 '22 at 11:00
  • There is no open source version of MKL. Only the headers are open sourced, and they are used just to link to the libraries that are provided in the base toolkit. I understand you’re trying to compile against the Codeplay CUDA backend, and you might? Be able to do so, but for any MKL calls you should still link to MKL. On the oneMKL interface GitHub it is listed which backend to use when targeting NVIDIA GPUs. Have you tried that? And/or what MKL calls are you trying to use? – TonyM Jun 21 '22 at 10:34