diff --git a/src/cuda/api/launch_config_builder.hpp b/src/cuda/api/launch_config_builder.hpp index fff38382..f87e7674 100644 --- a/src/cuda/api/launch_config_builder.hpp +++ b/src/cuda/api/launch_config_builder.hpp @@ -476,6 +476,11 @@ class launch_config_builder_t { return *this; } + launch_config_builder_t& no_dynamic_shared_memory() + { + return dynamic_shared_memory_size(memory::shared::size_t(0)); + } + launch_config_builder_t& dynamic_shared_memory_size(memory::shared::size_t size) { #ifndef NDEBUG