Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cuFuncSetSharedMemConfig deprecated #810

Open
hfp opened this issue Jun 24, 2024 · 1 comment
Open

cuFuncSetSharedMemConfig deprecated #810

hfp opened this issue Jun 24, 2024 · 1 comment

Comments

@hfp
Copy link
Member

hfp commented Jun 24, 2024

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);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~
@alazzaro
Copy link
Member

Link to #783 (comment)
cc @gsitaram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants