Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions cmake/mkl_and_icpx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ find_program(ICPX_EXECUTABLE NAMES icpx

if(ICPX_EXECUTABLE)
get_filename_component(ICPX_CORE_BINDIR ${ICPX_EXECUTABLE} DIRECTORY)
get_filename_component(ICPX_CORE_LIBDIR "${ICPX_CORE_BINDIR}/../../linux/compiler/lib/intel64_lin" ABSOLUTE)
get_filename_component(ICPX_SYCL_LIBDIR "${ICPX_CORE_BINDIR}/../../linux/lib" ABSOLUTE)
get_filename_component(ICPX_CORE_LIBDIR "${ICPX_CORE_BINDIR}/../lib" ABSOLUTE)
endif()

# the ENABLE_OMP_OFFLOAD is only required to unhide MKL::sycl in intel's MKLConfig.cmake file
Expand All @@ -22,8 +21,7 @@ if(MKL_FOUND)
add_link_options(-L${MKL_ROOT}/lib/${MKL_ARCH})
endif()

# message(STATUS "ICPX : ${ICPX_EXECUTABLE} MKL: ${MKL_FOUND} ")
set(INTEL_LIBS -L${ICPX_SYCL_LIBDIR} -L${ICPX_CORE_LIBDIR} -lsvml -lintlc -lirng -limf -lsycl)
set(INTEL_LIBS -L${ICPX_CORE_LIBDIR} -lsvml -lintlc -lirng -limf -lsycl)

if(ICPX_EXECUTABLE AND MKL_FOUND)
message(STATUS "Found both MLK and ICPX")
Expand Down
2 changes: 0 additions & 2 deletions src/CHIPBackend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1503,8 +1503,6 @@ chipstar::Queue::getSyncQueuesLastEvents(std::shared_ptr<chipstar::Event> Event,
if (!NumUserQueues && !IncludeSelfLastEvent)
return {EventsToWaitOn, std::move(EventLocks)};

EventLocks.push_back(std::make_unique<std::unique_lock<std::mutex>>(
::Backend->GlobalLastEventMtx));
EventLocks.push_back(
std::make_unique<std::unique_lock<std::mutex>>(::Backend->EventsMtx));

Expand Down
1 change: 0 additions & 1 deletion src/CHIPBackend.hh
Original file line number Diff line number Diff line change
Expand Up @@ -1870,7 +1870,6 @@ public:

std::mutex SetActiveMtx;
std::mutex QueueCreateDestroyMtx;
mutable std::mutex GlobalLastEventMtx;
mutable std::mutex BackendMtx;
mutable std::mutex ActiveCtxMtx;
std::mutex CallbackQueueMtx;
Expand Down
Loading