From 22ab0487938d6416bda03d32bba2b2245fabcc02 Mon Sep 17 00:00:00 2001 From: James Wright Date: Mon, 16 Sep 2024 16:52:06 -0600 Subject: [PATCH] fix(sycl): Use CeedSize value in Linear Assemble --- backends/sycl-ref/ceed-sycl-ref-operator.sycl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backends/sycl-ref/ceed-sycl-ref-operator.sycl.cpp b/backends/sycl-ref/ceed-sycl-ref-operator.sycl.cpp index 2a9c59779f..8939d84a26 100644 --- a/backends/sycl-ref/ceed-sycl-ref-operator.sycl.cpp +++ b/backends/sycl-ref/ceed-sycl-ref-operator.sycl.cpp @@ -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)); }