oneDNN: I can not use gpu

I build the dnnl with command:

mkdir -p build && cd build
cmake ..
make -j16
make install

the ctest is run successful

the small part output of nvidia-smi:

NVIDIA-SMI 470.103.01   Driver Version: 470.103.01   CUDA Version: 11.4   

but the code dnnl::engine::get_count(dnnl::engine::kind::gpu) is equal 0.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 38 (17 by maintainers)

Most upvoted comments

@dzarukin, the problem is not the warnings but the linker issue.

@acknowledgexiongdei, I would suggest you to create an issue on compiler’s GitHub.