Skip to content

Commit

Permalink
fix: fix addr error on fpga and compress
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokamikami committed Feb 12, 2025
1 parent 2c9d57e commit dcccebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csrc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ inline void mem_out_hex(uint64_t rd_addr, uint64_t index) {
#ifndef USE_FPGA
uint64_t addr = calculate_index_hex(index, &file_index);
#else
uint64_t addr = index;
uint64_t addr = rd_addr;
#endif // USE_FPGA
{
std::lock_guard<std::mutex> lock(queue_mutex[file_index]);
Expand Down

0 comments on commit dcccebd

Please sign in to comment.