Skip to content

Commit

Permalink
Merge pull request #481 from LLNL/bugfix/rhornung67/FIR-memory-issue
Browse files Browse the repository at this point in the history
Bugfix/rhornung67/fir memory issue
  • Loading branch information
rhornung67 authored Sep 27, 2024
2 parents 262dcbb + 6f33971 commit 186d419
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/lc-builds/corona_sycl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ DATE=$(printf '%(%Y-%m-%d)T\n' -1)
export PATH=${SYCL_PATH}/bin:$PATH
export LD_LIBRARY_PATH=${SYCL_PATH}/lib:${SYCL_PATH}/lib64:$LD_LIBRARY_PATH

module load cmake/3.24.2
module load cmake/3.23.1

cmake \
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
Expand Down
5 changes: 0 additions & 5 deletions src/apps/FIR-Sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,10 @@ namespace apps
#define FIR_DATA_SETUP_SYCL \
Real_ptr coeff; \
\
allocAndInitSyclDeviceData(in, m_in, getActualProblemSize(), qu); \
allocAndInitSyclDeviceData(out, m_out, getActualProblemSize(), qu); \
Real_ptr tcoeff = &coeff_array[0]; \
allocAndInitSyclDeviceData(coeff, tcoeff, FIR_COEFFLEN, qu);

#define FIR_DATA_TEARDOWN_SYCL \
getSyclDeviceData(m_out, out, getActualProblemSize(), qu); \
deallocSyclDeviceData(in, qu); \
deallocSyclDeviceData(out, qu); \
deallocSyclDeviceData(coeff, qu);


Expand Down

0 comments on commit 186d419

Please sign in to comment.