Skip to content

Commit

Permalink
Merge pull request #1188 from amcamd/rocm-4.2.x
Browse files Browse the repository at this point in the history
remove division by number_hot_calls when using ArgumentModel
  • Loading branch information
amcamd authored Apr 9, 2021
2 parents 6154306 + 7b017a5 commit 1d39833
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/include/blas2/testing_syr_strided_batched.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void testing_syr_strided_batched(const Arguments& arg)
handle, uplo, N, &h_alpha, dx, incx, stridex, dA_1, lda, strideA, batch_count);
}

gpu_time_used = (get_time_us_sync(stream) - gpu_time_used) / number_hot_calls;
gpu_time_used = get_time_us_sync(stream) - gpu_time_used;

Arguments targ(arg);
targ.stride_a = strideA;
Expand Down
2 changes: 1 addition & 1 deletion clients/include/blas3/testing_gemm_strided_batched.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ void testing_gemm_strided_batched(const Arguments& arg)
batch_count);
}

gpu_time_used = (get_time_us_sync(stream) - gpu_time_used) / number_hot_calls;
gpu_time_used = get_time_us_sync(stream) - gpu_time_used;

ArgumentModel<e_transA,
e_transB,
Expand Down
2 changes: 1 addition & 1 deletion clients/include/blas_ex/testing_rot_strided_batched_ex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ void testing_rot_strided_batched_ex(const Arguments& arg)
batch_count,
execution_type);
}
gpu_time_used = (get_time_us_sync(stream) - gpu_time_used) / number_hot_calls;
gpu_time_used = get_time_us_sync(stream) - gpu_time_used;

ArgumentModel<e_N, e_incx, e_stride_x, e_incy, e_stride_y, e_batch_count>{}.log_args<Tx>(
rocblas_cout,
Expand Down

0 comments on commit 1d39833

Please sign in to comment.