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/syclWikipedia 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 by | Khronos Group |
|---|---|
| First appeared | 2014 |
| Homepage | https://www.khronos.org/sycl/ |
Related languages
LLM-contributed programs
Vector Addition
Provenance: commit d3a8a6fc7f · authored 2026-02-10T12:25:12+01:00 · agent claude-code · model sonnet · WebSearch disabled
#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.)