Skip to content

Commit 360d856

Browse files
authored
Fix cache string description in config files (gpgpu-sim#96)
* fix_cache_string: update cache desc in config files and remove typos * fix_cache_string: update gitignore
1 parent 287fe0a commit 360d856

File tree

11 files changed

+28
-20
lines changed

11 files changed

+28
-20
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,17 @@ debug_tools/WatchYourStep/ptxjitplus/gpgpu*
5656
debug_tools/WatchYourStep/ptxjitplus/*.old
5757
debug_tools/WatchYourStep/ptxjitplus/ptxjitplus
5858
debug_tools/WatchYourStep/ptxjitplus/*.ptx
59+
*.tmp
5960

6061
# Accel-sim packages used for regressions
6162
accel-sim-framework/
6263
gpu-app-collection/
6364

6465
setup
66+
67+
# OS/IDE specific files
68+
.idea/
69+
.vscode/
70+
.DS_Store
71+
.DS_store
72+
__pycache__/

configs/tested-cfgs/SM2_GTX480/gpgpusim.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656

5757

5858
# In Fermi, the cache and shared memory can be configured to 16kb:48kb(default) or 48kb:16kb
59-
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>
60-
# ** Optional parameter - Required when mshr_type==Texture Fifo
59+
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>,<data_port_width>
60+
# ** Optional parameter - Required when mshr_type==Texture Fifo, set to 0 if not used
6161
# Note: Hashing set index function (H) only applies to a set size of 32 or 64.
6262
-gpgpu_cache:dl1 N:32:128:4,L:L:m:N:H,S:64:8,8
6363
-gpgpu_shmem_size 49152

configs/tested-cfgs/SM3_KEPLER_TITAN/gpgpusim.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@
9999
# Greedy then oldest scheduler
100100
-gpgpu_scheduler gto
101101

102-
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>
103-
# ** Optional parameter - Required when mshr_type==Texture Fifo
102+
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>,<data_port_width>
103+
# ** Optional parameter - Required when mshr_type==Texture Fifo, set to 0 if not used
104104
# Note: Hashing set index function (H) only applies to a set size of 32 or 64.
105105
# The defulat is to disable the L1 cache, unless cache modifieres are used
106106
-gpgpu_cache:dl1 S:4:128:32,L:L:s:N:L,A:256:8,16:0,32

configs/tested-cfgs/SM6_TITANX/gpgpusim.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@
123123
-gpgpu_dual_issue_diff_exec_units 1
124124

125125
## L1/shared memory configuration
126-
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>
127-
# ** Optional parameter - Required when mshr_type==Texture Fifo
126+
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>,<data_port_width>
127+
# ** Optional parameter - Required when mshr_type==Texture Fifo, set to 0 if not used
128128
# Note: Hashing set index function (H) only applies to a set size of 32 or 64.
129129
# The defulat is to disable the L1 cache, unless cache modifieres are used
130130
-gpgpu_l1_banks 2

configs/tested-cfgs/SM75_RTX2060/gpgpusim.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
-gpgpu_dual_issue_diff_exec_units 1
8484

8585
## L1/shared memory configuration
86-
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>
87-
# ** Optional parameter - Required when mshr_type==Texture Fifo
86+
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>,<data_port_width>
87+
# ** Optional parameter - Required when mshr_type==Texture Fifo, set to 0 if not used
8888
# In adaptive cache, we adaptively assign the remaining shared memory to L1 cache
8989
# For more info, see https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#shared-memory-7-x
9090
-gpgpu_adaptive_cache_config 1

configs/tested-cfgs/SM75_RTX2060_S/gpgpusim.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@
128128
-gpgpu_num_reg_banks 16
129129
-gpgpu_reg_file_port_throughput 2
130130

131-
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>
132-
# ** Optional parameter - Required when mshr_type==Texture Fifo
131+
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>,<data_port_width>
132+
# ** Optional parameter - Required when mshr_type==Texture Fifo, set to 0 if not used
133133
-gpgpu_adaptive_cache_config 0
134134
-gpgpu_l1_banks 4
135135
-gpgpu_cache:dl1 S:1:128:512,L:L:s:N:L,A:256:8,16:0,32

configs/tested-cfgs/SM7_GV100/gpgpusim.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@
137137
-gpgpu_dual_issue_diff_exec_units 1
138138

139139
## L1/shared memory configuration
140-
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>
141-
# ** Optional parameter - Required when mshr_type==Texture Fifo
140+
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>,<data_port_width>
141+
# ** Optional parameter - Required when mshr_type==Texture Fifo, set to 0 if not used
142142
# Defualt config is 32KB DL1 and 96KB shared memory
143143
# In Volta, we assign the remaining shared memory to L1 cache
144144
# if the assigned shd mem = 0, then L1 cache = 128KB

configs/tested-cfgs/SM7_QV100/gpgpusim.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@
137137
-gpgpu_dual_issue_diff_exec_units 1
138138

139139
## L1/shared memory configuration
140-
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>
141-
# ** Optional parameter - Required when mshr_type==Texture Fifo
140+
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>,<data_port_width>
141+
# ** Optional parameter - Required when mshr_type==Texture Fifo, set to 0 if not used
142142
# Defualt config is 32KB DL1 and 96KB shared memory
143143
# In Volta, we assign the remaining shared memory to L1 cache
144144
# if the assigned shd mem = 0, then L1 cache = 128KB

configs/tested-cfgs/SM7_TITANV/gpgpusim.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@
107107
-gpgpu_dual_issue_diff_exec_units 1
108108

109109
## L1/shared memory configuration
110-
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>
111-
# ** Optional parameter - Required when mshr_type==Texture Fifo
110+
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>,<data_port_width>
111+
# ** Optional parameter - Required when mshr_type==Texture Fifo, set to 0 if not used
112112
# Defualt config is 32KB DL1 and 96KB shared memory
113113
# In Volta, we assign the remaining shared memory to L1 cache
114114
# if the assigned shd mem = 0, then L1 cache = 128KB

configs/tested-cfgs/SM86_RTX3070/gpgpusim.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
-gpgpu_dual_issue_diff_exec_units 1
8484

8585
## L1/shared memory configuration
86-
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>
87-
# ** Optional parameter - Required when mshr_type==Texture Fifo
86+
# <sector?>:<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>:<set_index_fn>,<mshr>:<N>:<merge>,<mq>:**<fifo_entry>,<data_port_width>
87+
# ** Optional parameter - Required when mshr_type==Texture Fifo, set to 0 if not used
8888
# In adaptive cache, we adaptively assign the remaining shared memory to L1 cache
8989
# For more info, see https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#shared-memory-7-x
9090
-gpgpu_adaptive_cache_config 1

0 commit comments

Comments
 (0)