/
redgpu
/
clspv
Обзор
Документация
Войти
/
redgpu
/
clspv
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
test/UBO/bad_array.cl
8 строк
318 B
Kévin Petit
Add support for warnings (#319)
02 апр 2019, 23:52
02 апр 2019, 23:52
6b07cbe
Код
Авторство
О чём код?
// RUN: clspv %s -w -constant-args-ubo -verify -inline-entry-points struct dt { int x; int y[4]; //expected-note{{here}} } __attribute((aligned(32))); __kernel void foo(__constant struct dt* c) { } //expected-error{{in an UBO, arrays must be aligned to their element alignment, rounded up to a multiple of 16}}