Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
tinebp committed Sep 8, 2024
1 parent 7bef62a commit 7823f55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 39 deletions.
14 changes: 1 addition & 13 deletions sim/opaesim/opae_sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,7 @@ class opae_sim::Impl {
#endif

ram_ = new RAM(0, RAM_PAGE_SIZE);

#ifndef NDEBUG
// dump device configuration
std::cout << "CONFIGS:"
<< " num_threads=" << NUM_THREADS
<< ", num_warps=" << NUM_WARPS
<< ", num_cores=" << NUM_CORES
<< ", num_clusters=" << NUM_CLUSTERS
<< ", socket_size=" << SOCKET_SIZE
<< ", local_mem_base=0x" << std::hex << LMEM_BASE_ADDR << std::dec
<< ", num_barriers=" << NUM_BARRIERS
<< std::endl;
#endif

// reset the device
this->reset();

Expand Down
14 changes: 1 addition & 13 deletions sim/rtlsim/processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,19 +116,7 @@ class Processor::Impl {
#endif

ram_ = nullptr;

#ifndef NDEBUG
// dump device configuration
std::cout << "CONFIGS:"
<< " num_threads=" << NUM_THREADS
<< ", num_warps=" << NUM_WARPS
<< ", num_cores=" << NUM_CORES
<< ", num_clusters=" << NUM_CLUSTERS
<< ", socket_size=" << SOCKET_SIZE
<< ", local_mem_base=0x" << std::hex << LMEM_BASE_ADDR << std::dec
<< ", num_barriers=" << NUM_BARRIERS
<< std::endl;
#endif

// reset the device
this->reset();

Expand Down
14 changes: 1 addition & 13 deletions sim/xrtsim/xrt_sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,19 +130,7 @@ class xrt_sim::Impl {
#endif

ram_ = new RAM(0, RAM_PAGE_SIZE);

#ifndef NDEBUG
// dump device configuration
std::cout << "CONFIGS:"
<< " num_threads=" << NUM_THREADS
<< ", num_warps=" << NUM_WARPS
<< ", num_cores=" << NUM_CORES
<< ", num_clusters=" << NUM_CLUSTERS
<< ", socket_size=" << SOCKET_SIZE
<< ", local_mem_base=0x" << std::hex << LMEM_BASE_ADDR << std::dec
<< ", num_barriers=" << NUM_BARRIERS
<< std::endl;
#endif

// reset the device
this->reset();

Expand Down

0 comments on commit 7823f55

Please sign in to comment.