Skip to content
Closed
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
5 changes: 5 additions & 0 deletions sycl/unittests/helpers/UrMock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,10 @@ inline ur_result_t mock_urVirtualMemReserve(void *pParams) {
return UR_RESULT_SUCCESS;
}

inline ur_result_t mock_urAdapterRelease(void *pParams) {
return UR_RESULT_SUCCESS;
}

} // namespace MockAdapter

/// The UrMock<> class sets up UR for adapter mocking with the set of default
Expand Down Expand Up @@ -469,6 +473,7 @@ template <sycl::backend Backend = backend::opencl> class UrMock {
ADD_DEFAULT_OVERRIDE(urUsmP2PPeerAccessGetInfoExp,
mock_urUsmP2PPeerAccessGetInfoExp)
ADD_DEFAULT_OVERRIDE(urVirtualMemReserve, mock_urVirtualMemReserve)
ADD_DEFAULT_OVERRIDE(urAdapterRelease, mock_urAdapterRelease)
#undef ADD_DEFAULT_OVERRIDE

ur_loader_config_handle_t UrLoaderConfig = nullptr;
Expand Down