Skip to content

Commit

Permalink
Regards #311 : Adding a method to the launch config builder for speci…
Browse files Browse the repository at this point in the history
…fying no dynamic shared memory is used
  • Loading branch information
eyalroz committed Mar 18, 2023
1 parent b5a84d1 commit f736fcc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cuda/api/launch_config_builder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f736fcc

Please sign in to comment.