masahi commented on a change in pull request #8466:
URL: https://github.com/apache/tvm/pull/8466#discussion_r673123145
##########
File path: src/runtime/thread_storage_scope.h
##########
@@ -194,13 +198,17 @@ struct ThreadWorkLoad {
inline size_t grid_dim(size_t i) const { return work_size[i]; }
};
/*! \brief Thread axis configuration */
-class ThreadAxisConfig {
+class LaunchParamConfig {
public:
- void Init(size_t base, const std::vector<std::string>& thread_axis_tags) {
+ void Init(size_t base, const std::vector<std::string>& launch_param_tags) {
base_ = base;
std::vector<bool> filled(6, false);
- for (size_t i = 0; i < thread_axis_tags.size(); ++i) {
- const std::string& tag = thread_axis_tags[i];
+ for (size_t i = 0; i < launch_param_tags.size(); ++i) {
+ const std::string& tag = launch_param_tags[i];
+ if (tag == kUseDynamicSharedMemoryTag) {
Review comment:
Added an assert
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]