/
pccc
/
pccc-mlir
Обзор
Документация
Войти
/
pccc
/
pccc-mlir
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
master
offload/test/offloading/dynamic_module.c
22 строки
564 B
obitotsky
fork mlir
19 июл 2026, 07:05
Верифицирован
19 июл 2026, 07:05
6422b87
Код
Авторство
О чём код?
// clang-format off // RUN: %libomptarget-compile-generic -DSHARED -fPIC -shared -o %t.so && \ // RUN: %libomptarget-compile-generic %t.so && %libomptarget-run-generic 2>&1 | %fcheck-generic // RUN: %libomptarget-compileopt-generic -DSHARED -fPIC -shared -o %t.so && \ // RUN: %libomptarget-compileopt-generic %t.so && %libomptarget-run-generic 2>&1 | %fcheck-generic // // REQUIRES: gpu // clang-format on #ifdef SHARED void foo() {} #else #include <stdio.h> int main() { #pragma omp target ; // CHECK: DONE. printf("%s\n", "DONE."); return 0; } #endif