Add OmpSs-2 simple example

This commit is contained in:
2026-02-04 11:53:01 +01:00
parent 150bdae46e
commit 7e55e255f9
6 changed files with 163 additions and 0 deletions

10
ompss2/hello.c Normal file
View File

@@ -0,0 +1,10 @@
#include <stdio.h>
int main()
{
for (int i = 0; i < 10; i++) {
#pragma oss task
printf("hello from task %d\n", i);
}
return 0;
}