Skip to content

Commit 313dbe7

Browse files
committed
Added a comment
Signed-off-by: Gregory Shimansky <[email protected]>
1 parent 468bc13 commit 313dbe7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

third_party/intel/backend/driver.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ static PyObject *loadBinary(PyObject *self, PyObject *args) {
201201
try {
202202
ctx = platform.ext_oneapi_get_default_context();
203203
} catch (const std::runtime_error &ex) {
204+
// This exception is thrown on Windows because ext_oneapi_get_default_context
205+
// is not implemented. But it can be safely ignored it seems.
204206
#if _DEBUG
205207
std::cout << "ERROR: " << ex.what() << std::endl;
206208
#endif

0 commit comments

Comments
 (0)