Skip to content

Commit

Permalink
[FIX] Arm index calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrKrzem committed Nov 8, 2024
1 parent 4ecacb0 commit ecbae4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/src/nodes/random_uniform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ void RandomUniform::computeMersenneTwister(void* out, size_t output_elements_cou
auto& params = m_mersenne_twister_thread_params[ithr];
auto state_ptr = mersenne_state_ptr + params.src_start_idx;
auto dst_ptr = output_byte_ptr + params.dst_start_idx + i * byte_offset;
auto output_idx = (params.src_start_idx + i * byte_offset) / m_output_prc.size();
auto output_idx = params.src_start_idx + i;
auto max_output_idx = output_elements_count;
auto state_accesses_count = params.state_accesses_count;
auto elements_to_generate = static_cast<int64_t>(
Expand Down

0 comments on commit ecbae4c

Please sign in to comment.