/
pccc
/
pccc-mlir
Обзор
Документация
Войти
/
pccc
/
pccc-mlir
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
master
offload/test/offloading/bug47654.cpp
26 строк
399 B
obitotsky
fork mlir
19 июл 2026, 07:05
Верифицирован
19 июл 2026, 07:05
6422b87
Код
Авторство
О чём код?
// RUN: %libomptarget-compilexx-run-and-check-generic // RUN: %libomptarget-compileoptxx-run-and-check-generic #include <cassert> #include <iostream> int main(int argc, char *argv[]) { int i = 0, j = 0; #pragma omp target map(tofrom : i, j) nowait { i = 1; j = 2; } #pragma omp taskwait assert(i == 1); assert(j == 2); std::cout << "PASS\n"; return 0; } // CHECK: PASS