boostorg / boostorg/compute

purpose of unsupported_extension class and context extensions

Offen
#230 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
C++
Sterne
1.7k
Forks
340
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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).
##

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.