SimSYCL icon indicating copy to clipboard operation
SimSYCL copied to clipboard

Add user-controlled logging mechanism for warnings

Open fknorr opened this issue 1 year ago • 0 comments

Sometimes we want to elaborate on error conditions, but SYCL restricts the return type / exceptions thrown. Example: USM allocation functions have different reasons for returning nullptr.

SimSYCL should have a reporting mechanism that the user can tap into, both for logging and to verify that a certain error condition was met.

fknorr avatar Jan 24 '24 11:01 fknorr