Skip to content

Commit

Permalink
added example nvbit trace
Browse files Browse the repository at this point in the history
  • Loading branch information
ejchung0406 committed Oct 29, 2024
1 parent c245754 commit 6f44f98
Show file tree
Hide file tree
Showing 8,194 changed files with 16,188 additions and 10 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ src/statsEnums.h
src/cscope
tools/mem_trace_generator/*.raw
tools/mem_trace_generator/mem_trace
bin/
bin/macsim
.dbg_build/
*.lo
*.la
Expand Down
6 changes: 3 additions & 3 deletions bin/params.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Simulation Configuration
num_sim_cores 80
num_sim_small_cores 80
num_sim_cores 16
num_sim_small_cores 16
core_type nvbit
max_threads_per_core 1024
num_sim_medium_cores 0
Expand Down Expand Up @@ -81,7 +81,7 @@ dram_column 11
dram_activate 25
dram_precharge 10
dram_num_banks 16
dram_num_channel 1
dram_num_channel 8
dram_rowbuffer_size 2048
dram_scheduling_policy FRFCFS

Expand Down
4 changes: 1 addition & 3 deletions bin/trace_file_list
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
1
/fast_data/trace/nvbit/vectoradd/kernel/Trace.txt
../../nvbit_macsim_trace/vadd/Trace.txt
../sst-unit-test/traces/cachesize_1/trace.txt
../sst-unit-test/traces/nvbit/vectormultadd/65536/kernel_config.txt
2 changes: 0 additions & 2 deletions src/global_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ void delete_store_hash_entry_wrapper(map_c *map, uop_c *uop);
///////////////////////////////////////////////////////////////////////////////////////////////
// Global definitions

// JAEWON FIXME GPU
//#define MAX_TR_OPCODE_NAME GPU_OPCODE_LAST
#define MAX_TR_OPCODE_NAME NVBIT_OPCODE_LAST
#define MAX_GPU_ADDR_SPACE GPU_ADDR_SP_LAST
#define MAX_GPU_CACHE_OP GPU_CACHE_OP_LAST
Expand Down
2 changes: 1 addition & 1 deletion src/process_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ void process_manager_c::create_thread_node(process_s *process, int tid,
// block id assignment in case of multiple applications
int block_id = start_info->m_thread_id >> BLOCK_ID_SHIFT;
// inside parenthesis is the unique block id
// multi_key_map_c::find(key1, key2)
// using multi-key map with multi_key_map_c::find(key1, key2)
node->m_block_id = m_simBase->m_block_id_mapper->find(
process->m_process_id,
block_id +
Expand Down
Loading

0 comments on commit 6f44f98

Please sign in to comment.