summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.h
diff options
context:
space:
mode:
authorMahmoud Khairy A. Abdallah <[email protected]>2021-05-23 12:59:34 -0400
committerMahmoud Khairy A. Abdallah <[email protected]>2021-05-23 12:59:34 -0400
commit6c9e13db93e4a1614f7401e9675c62ea40b65a3b (patch)
tree3ffd3af47aab1781a7a17e3cb77f093c8f499a3e /src/gpgpu-sim/shader.h
parentb6409b4605dac8e39ea22ea6977a28c31177e44a (diff)
format code
Diffstat (limited to 'src/gpgpu-sim/shader.h')
-rw-r--r--src/gpgpu-sim/shader.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h
index 8662313..2d2f051 100644
--- a/src/gpgpu-sim/shader.h
+++ b/src/gpgpu-sim/shader.h
@@ -1496,8 +1496,8 @@ class shader_core_config : public core_config {
break; // we only accept continuous specialized_units, i.e., 1,2,3,4
}
- //parse gpgpu_shmem_option for adpative cache config
- if(adaptive_cache_config) {
+ // parse gpgpu_shmem_option for adpative cache config
+ if (adaptive_cache_config) {
for (unsigned i = 0; i < strlen(gpgpu_shmem_option); i++) {
char option[4];
int j = 0;
@@ -1520,7 +1520,6 @@ class shader_core_config : public core_config {
}
std::sort(shmem_opt_list.begin(), shmem_opt_list.end());
}
-
}
void reg_options(class OptionParser *opp);
unsigned max_cta(const kernel_info_t &k) const;
@@ -1899,13 +1898,11 @@ class shader_core_mem_fetch_allocator : public mem_fetch_allocator {
mem_fetch *alloc(new_addr_type addr, mem_access_type type, unsigned size,
bool wr, unsigned long long cycle) const;
mem_fetch *alloc(new_addr_type addr, mem_access_type type,
- const active_mask_t &active_mask,
- const mem_access_byte_mask_t &byte_mask,
- const mem_access_sector_mask_t &sector_mask,
- unsigned size, bool wr,
- unsigned long long cycle,
- unsigned wid, unsigned sid,
- unsigned tpc, mem_fetch *original_mf) const;
+ const active_mask_t &active_mask,
+ const mem_access_byte_mask_t &byte_mask,
+ const mem_access_sector_mask_t &sector_mask, unsigned size,
+ bool wr, unsigned long long cycle, unsigned wid,
+ unsigned sid, unsigned tpc, mem_fetch *original_mf) const;
mem_fetch *alloc(const warp_inst_t &inst, const mem_access_t &access,
unsigned long long cycle) const {
warp_inst_t inst_copy = inst;