Skip to content

Commit 4ad1dfe

Browse files
MarcelKochupsj
andcommitted
review updates:
- add todo - more specific error message Co-authored-by: Tobias Ribizel <[email protected]>
1 parent 540383a commit 4ad1dfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/matrix/dense.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1314,9 +1314,9 @@ void row_scatter_impl(const IndexContainer* row_idxs,
13141314
make_temporary_clone(exec, row_idxs).get(), orig,
13151315
make_temporary_clone(exec, target).get(), invalid_access));
13161316

1317+
// TODO: find a uniform way to handle device-side errors
13171318
if (invalid_access) {
1318-
GKO_INVALID_STATE(
1319-
"Out-of-bounds access detected during kernel execution.");
1319+
GKO_INVALID_STATE("Out-of-bounds scatter index detected.");
13201320
}
13211321
}
13221322

0 commit comments

Comments
 (0)