summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authormkhairy <[email protected]>2021-05-19 17:51:00 -0400
committerGitHub <[email protected]>2021-05-19 17:51:00 -0400
commit2b2b6a2916e4ed833c707be887bf927167a71fa6 (patch)
tree526646c9ac3f182e9fd7103255e3680f2fcc7adc /src/abstract_hardware_model.h
parent0e4f12ae3fefd6bad6175014411a6587a3898ac8 (diff)
parent1875132a20422404ea75d04fc7be58a1bbca48f3 (diff)
Merge pull request #15 from JRPan/adaptive-cache
Adaptive cache
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index e09acdb..17a1cec 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -65,7 +65,7 @@ enum FuncCache {
FuncCachePreferL1 = 2
};
-enum AdaptiveCache { FIXED = 0, ADAPTIVE_VOLTA = 1 };
+enum AdaptiveCache { FIXED = 0, ADAPTIVE_CACHE = 1 };
#ifdef __cplusplus
@@ -373,6 +373,7 @@ class core_config {
}
unsigned mem_warp_parts;
mutable unsigned gpgpu_shmem_size;
+ char *gpgpu_shmem_option;
unsigned gpgpu_shmem_sizeDefault;
unsigned gpgpu_shmem_sizePrefL1;
unsigned gpgpu_shmem_sizePrefShared;