You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, it seems we need module::create even which only using the runtime-API-originating headers:
In file included from src/cuda/api/multi_wrapper_impls/device.hpp:21,
from src/cuda/runtime_api.hpp:45,
from examples/other/runtime_api_header_collection.cpp:1:
src/cuda/api/multi_wrapper_impls/../module.hpp:245:10: error: ‘cuda::module_t cuda::module::detail_::create(const cuda::context_t&, const void*, Creator) [with Creator = cuda::module::detail_::create(const cuda::context_t&, const void*, const cuda::link::options_t&)::<lambda(CUmod_st*&, const void*)>]’, declared using local type ‘cuda::module::detail_::create(const cuda::context_t&, const void*, const cuda::link::options_t&)::<lambda(CUmod_st*&, const void*)>’, is used but never defined [-fpermissive]
245 | module_t create(const context_t& context, const void* module_data, Creator creator_function);
| ^~~~~~
src/cuda/api/multi_wrapper_impls/../module.hpp:245:10: error: ‘cuda::module_t cuda::module::detail_::create(const cuda::context_t&, const void*, Creator) [with Creator = cuda::module::detail_::create(const cuda::context_t&, const void*)::<lambda(CUmod_st*&, const void*)>]’, declared using local type ‘cuda::module::detail_::create(const cuda::context_t&, const void*)::<lambda(CUmod_st*&, const void*)>’, is used but never defined [-fpermissive]
make[3]: *** [examples/CMakeFiles/runtime_api_header_collection.dir/build.make:76: examples/CMakeFiles/runtime_api_header_collection.dir/other/runtime_api_header_collection.cpp.o] Error 1
Let's do something about that - either move the use elsewhere, or add the header implementing the function... :-(
The text was updated successfully, but these errors were encountered:
…ude module-related headers from `runtime_api.hpp`.
* Moved the use of `module::create` from `multi_wrapper_impls/context.hpp` into `multi_wrapper_impls/module.hpp`
* Dropped inclusion of `module.hpp` from some `multi_wrapper_impls` files
…ude module-related headers from `runtime_api.hpp`.
* Moved the use of `module::create` from `multi_wrapper_impls/context.hpp` into `multi_wrapper_impls/module.hpp`
* Dropped inclusion of `module.hpp` from some `multi_wrapper_impls` files
Unfortunately, it seems we need module::create even which only using the runtime-API-originating headers:
Let's do something about that - either move the use elsewhere, or add the header implementing the function... :-(
The text was updated successfully, but these errors were encountered: