Skip to content

Commit

Permalink
fix(sycl): Use CeedSize value in Linear Assemble
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwrigh committed Sep 16, 2024
1 parent b8117e7 commit 3e4cb96
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 3e4cb96

Please sign in to comment.