Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
updated remaining macros
Browse files Browse the repository at this point in the history
  • Loading branch information
OuadiElfarouki committed Jan 29, 2024
1 parent affe6e0 commit f119c9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/operations/blas2/spr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,20 +101,20 @@ typename rhs_1_t::value_t Spr<Single, isUpper, lhs_t, rhs_1_t, rhs_2_t>::eval(

index_t row = 0, col = 0;

#ifndef __HIPSYCL__
#ifndef __ADAPTIVECPP__
if (!id) {
#endif
Spr<Single, isUpper, lhs_t, rhs_1_t, rhs_2_t>::compute_row_col(
global_idx, N_, row, col);
#ifndef __HIPSYCL__
#ifndef __ADAPTIVECPP__
}

row = cl::sycl::group_broadcast(ndItem.get_group(), row);
col = cl::sycl::group_broadcast(ndItem.get_group(), col);
#endif

if (global_idx < lhs_size) {
#ifndef __HIPSYCL__
#ifndef __ADAPTIVECPP__
if constexpr (isUpper) {
if (id) {
row += id;
Expand Down

0 comments on commit f119c9f

Please sign in to comment.