Skip to content

Commit 7173166

Browse files
sergey-semenovbader
authored andcommitted
[SYCL] Fix an error message reported by context::get()
Signed-off-by: Sergey Semenov <[email protected]>
1 parent 6a2cd90 commit 7173166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/context_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ cl_context context_impl::get() const {
7777
return pi::cast<cl_context>(m_Context);
7878
}
7979
throw invalid_object_error(
80-
"This instance of event doesn't support OpenCL interoperability.");
80+
"This instance of context doesn't support OpenCL interoperability.");
8181
}
8282

8383
bool context_impl::is_host() const { return m_HostContext || !m_OpenCLInterop; }

0 commit comments

Comments
 (0)