KhronosGroup / KhronosGroup/SYCL-Docs

Is there a way to query build logs through kernel_bundle APIs?

Open
#213 2 comments 0 reactions 1 assignee Claimed by @gmlueck View on GitHub
question
Dominant language
JavaScript
Stars
158
Forks
80
Avg merge
7d 6h
Merged PRs (30d)
5

Description

In SYCL 1.2.1 there is a method `cl::sycl::program::get_info`, which allows to query build logs, but I can't see any equivalent of this API in SYCL 2020 (except for maybe interoperability interfaces or backend-specific interfaces).

Am I missing something? Was this change intentional?

I'm concerned that the ability to print build logs could be useful, to understand what exactly went wrong or even in successful build logs could contain some warnings or additional information about the build, like optimization report, for example.

Even if the decision would be not to introduce this API, does it make sense to provide a guarantee for user, that `build` exception will contain build logs for user to understand what went wrong?

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.