summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_parser.cc
diff options
context:
space:
mode:
authorTimothy G Rogers <[email protected]>2018-03-25 18:28:39 -0400
committerGitHub Enterprise <[email protected]>2018-03-25 18:28:39 -0400
commitf7ff51824547d017bdfffcaff79a762ff07c6fdf (patch)
tree331aefc5a9df52299b7e0f9d8de56439cf187d36 /src/cuda-sim/ptx_parser.cc
parent82a62207406739bc8597326aa473a99007029d75 (diff)
parent4e91a60a48b07f41f4bfb4d59fa2355024a3914b (diff)
Merge pull request #13 from tgrogers/dev-purdue-integration
Support for lonestar and modifying our configs to not completely screw up when the user configures the cache preference
Diffstat (limited to 'src/cuda-sim/ptx_parser.cc')
-rw-r--r--src/cuda-sim/ptx_parser.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_parser.cc b/src/cuda-sim/ptx_parser.cc
index baa3bcd..e5731a8 100644
--- a/src/cuda-sim/ptx_parser.cc
+++ b/src/cuda-sim/ptx_parser.cc
@@ -969,6 +969,10 @@ void target_header3(char* a, char* b, char* c)
g_global_symbol_table->set_sm_target(a,b,c);
}
+void maxnt_id(int x, int y, int z) {
+ g_func_info->set_maxnt_id(x * y * z);
+}
+
void func_header(const char* a) {} //intentional dummy function
void func_header_info(const char* a) {} //intentional dummy function
void func_header_info_int(const char* a, int b) {} //intentional dummy function