SYCL

1 program Added 2026-02-10T11:24:09Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: SYCL C++
Provenance: commit d3a8a6fc7f · authored 2026-02-10T12:25:12+01:00 · agent claude-code · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/sycl
LLM (this repo) · 1WikipediaWikidata · Q41776209

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Designed byKhronos Group
First appeared2014
Homepagehttps://www.khronos.org/sycl/

Related languages

SKILL (0.19)CC++ (0.18)Compositional C++ (0.18)C++ (0.18)Embedded C++ (0.17)

LLM-contributed programs

Vector Addition

Provenance: commit d3a8a6fc7f · authored 2026-02-10T12:25:12+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.cpp · added: 2026-02-10T11:24:09Z
#include <CL/sycl.hpp>
#include <iostream>
#include <vector>

using namespace cl::sycl;

int main() {
    const int N = 1024;
    std::vector<float> a(N, 1.0f);
    std::vector<float> b(N, 2.0f);
    std::vector<float> c(N, 0.0f);

    queue q;

    {
        buffer<float> buf_a(a.data(), range<1>(N));
        buffer<float> buf_b(b.data(), range<1>(N));
        buffer<float> buf_c(c.data(), range<1>(N));

        q.submit([&](handler& h) {
            auto acc_a = buf_a.get_access<access::mode::read>(h);
            auto acc_b = buf_b.get_access<access::mode::read>(h);
            auto acc_c = buf_c.get_access<access::mode::write>(h);

            h.parallel_for(range<1>(N), [=](id<1> i) {
                acc_c[i] = acc_a[i] + acc_b[i];
            });
        });
    }

    std::cout << "Result: c[0] = " << c[0] << std::endl;
    return 0;
}

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about SYCL (mapped to pl/sycl). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/SYCL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← sybyl-notation SYCPOL →