dbcsr
dbcsr copied to clipboard
cuFuncSetSharedMemConfig deprecated
The function prototype of cuFuncSetSharedMemConfig
is marked deprecated in recent installations:
../libsmm_acc/libsmm_acc.cpp: In function ‘void jit_kernel(CUfunc_st*&, libsmm_acc_algo, int, int, int, int, int, int, int, int, int, int)’:
../libsmm_acc/libsmm_acc.cpp:187:40: warning: ‘CUresult cuFuncSetSharedMemConfig(CUfunction, CUsharedconfig)’ is deprecated [-Wdeprecated-declarations]
187 | ACC_DRV_CALL(FuncSetSharedMemConfig, (kern_func, ACC_DRV(SharedMemBankSizeEightByte)));
../libsmm_acc/../cuda/acc_cuda.h:41:49: note: in definition of macro ‘ACC_DRV_CALL’
41 | CUresult result = ACC_DRV_FUNC_PREFIX(func) args; \
| ^~~~
In file included from ../libsmm_acc/../cuda/acc_cuda.h:13:
/opt/hpc_software/sdk/nvidia/hpc_sdk/Linux_x86_64/24.5/cuda/12.4/targets/x86_64-linux/include/cuda.h:17611:36: note: declared here
17611 | __CUDA_DEPRECATED CUresult CUDAAPI cuFuncSetSharedMemConfig(CUfunction hfunc, CUsharedconfig config);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../libsmm_acc/libsmm_acc.cpp: In function ‘void jit_transpose_handle(CUfunc_st*&, int, int)’:
../libsmm_acc/libsmm_acc.cpp:403:40: warning: ‘CUresult cuFuncSetSharedMemConfig(CUfunction, CUsharedconfig)’ is deprecated [-Wdeprecated-declarations]
403 | ACC_DRV_CALL(FuncSetSharedMemConfig, (kern_func, ACC_DRV(SharedMemBankSizeEightByte)));
../libsmm_acc/../cuda/acc_cuda.h:41:49: note: in definition of macro ‘ACC_DRV_CALL’
41 | CUresult result = ACC_DRV_FUNC_PREFIX(func) args; \
| ^~~~
/opt/hpc_software/sdk/nvidia/hpc_sdk/Linux_x86_64/24.5/cuda/12.4/targets/x86_64-linux/include/cuda.h:17611:36: note: declared here
17611 | __CUDA_DEPRECATED CUresult CUDAAPI cuFuncSetSharedMemConfig(CUfunction hfunc, CUsharedconfig config);
| ^~~~~~~~~~~~~~~~~~~~~~~~