celerity / celerity/SimSYCL

Add user-controlled logging mechanism for warnings

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
40
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Sometimes we want to elaborate on error conditions, but SYCL restricts the return type / exceptions thrown. Example: [USM allocation functions](https://github.com/celerity/SimSYCL/commit/d83979854a7225e633844001791bbda19f3ed614) 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.