/
redgpu
/
clspv
Обзор
Документация
Войти
/
redgpu
/
clspv
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
test/CPlusPlus/kernel-overload.cl
6 строк
296 B
Kévin Petit
Add support for -cl-std option (#484)
07 янв 2020, 21:29
07 янв 2020, 21:29
f051571
Код
Авторство
О чём код?
// RUN: clspv -w -cl-std=CLC++ -inline-entry-points -verify %s void kernel test(global int* ptr) {} //expected-note{{previous definition is here}} void kernel test(local int* ptr) {} //expected-error@-1{{conflicting types for 'test'}} //expected-error@-2{{kernel functions can't be overloaded}}