silence some compiler warnings

This commit is contained in:
Axel Kohlmeyer
2021-08-31 15:10:50 -04:00
parent 6b243845c0
commit 08eb3345af
5 changed files with 15 additions and 17 deletions

View File

@ -70,7 +70,7 @@ class UCL_Texture {
inline void unbind() { }
/// Make a texture reference available to kernel
inline void allow(UCL_Kernel &kernel) {
inline void allow(UCL_Kernel &) {
//#if CUDA_VERSION < 4000
//CU_SAFE_CALL(cuParamSetTexRef(kernel._kernel, CU_PARAM_TR_DEFAULT, _tex));
//#endif