Open
Description
While compiling raft 23.06 I get the error message, moving to 23.04 solved the problem
../cmake-build-debug/_deps/raft-src/cpp/include/raft/util/cache_util.cuh:331:27: error: inline function ‘void raft::cache::get_cache_idx(int*, int, int*, int, int, int*, int*, bool*, int)’ given attribute ‘noinline’ [-Werror]
331 | __global__ inline void get_cache_idx(int* keys,
| ^~~~~~~~~~~~~
env:
compiling with g++ 12 and nvcc 12.1
$ c++ --version
c++ (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:16:06_PDT_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0
Activity