Compare commits

..

3 Commits

2 changed files with 16 additions and 2 deletions

View File

@ -25,10 +25,12 @@
devShells.x86_64-linux.default = pkgs.mkShell { devShells.x86_64-linux.default = pkgs.mkShell {
pname = "devshell"; pname = "devshell";
buildInputs = with pkgs; [ buildInputs = with pkgs; [
stdenvClangOmpss2 slurm.out slurm.dev gcc
clangOmpss2
nanos6
]; ];
inputsFrom = with pkgs; [ inputsFrom = with pkgs; [
slurm nanos6 nanos6
]; ];
}; };
}; };

12
isabel/slurm/llvmTest.c Normal file
View File

@ -0,0 +1,12 @@
#include <stdio.h>
int main()
{
#pragma oss task node(0)
{
printf("Tasking\n");
}
#pragma oss taskwait
printf("Past the task\n");
return 0;
}