boostorg / boostorg/compute

purpose of unsupported_extension class and context extensions

Open
#230 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
1.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

The `unsupported_extension` exception is currently only thrown by `opengl_create_shared_context()`. Maybe one could also throw it when the constructor of a general `context` fails, if there is an unsupported extension specified by `const cl_context_properites *properties`.

Maybe there also should be a way to construct contexts with extensions without having to create `0`-terminated lists by hand (maybe a vector class where the user can add extensions).
##

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.