Skip to content

Commit

Permalink
Merge pull request #1665 from CEED/jrwrigh/fix_sycl_diag
Browse files Browse the repository at this point in the history
fix(sycl): Use CeedSize value in LinearAssembleQF
  • Loading branch information
jrwrigh authored Sep 17, 2024
2 parents 8386266 + 22ab048 commit 368ba54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backends/sycl-ref/ceed-sycl-ref-operator.sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,7 @@ static inline int CeedOperatorLinearAssembleQFunctionCore_Sycl(CeedOperator op,
CeedInt strides[3] = {1, num_elem * Q, Q}; /* *NOPAD* */

// Create output restriction
CeedCallBackend(CeedElemRestrictionCreateStrided(ceed_parent, num_elem, Q, num_active_in * num_active_out,
num_active_in * num_active_out * num_elem * Q, strides, rstr));
CeedCallBackend(CeedElemRestrictionCreateStrided(ceed_parent, num_elem, Q, num_active_in * num_active_out, l_size, strides, rstr));
// Create assembled vector
CeedCallBackend(CeedVectorCreate(ceed_parent, l_size, assembled));
}
Expand Down

0 comments on commit 368ba54

Please sign in to comment.