2023-02-27 13:40:20 +01:00
|
|
|
/* Copyright (c) 2021-2023 Barcelona Supercomputing Center (BSC)
|
2022-09-19 12:39:02 +02:00
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later */
|
|
|
|
|
2022-09-21 13:16:53 +02:00
|
|
|
#define _GNU_SOURCE
|
|
|
|
#include <unistd.h>
|
2024-01-10 17:01:22 +01:00
|
|
|
#include "compat.h"
|
2022-09-21 13:16:53 +02:00
|
|
|
|
2022-09-29 15:34:44 +02:00
|
|
|
int
|
|
|
|
main(void)
|
2022-09-21 13:16:53 +02:00
|
|
|
{
|
2023-02-27 13:39:14 +01:00
|
|
|
#pragma oss task for
|
2022-09-29 15:34:44 +02:00
|
|
|
for (int i = 0; i < 1024; i++)
|
2024-01-10 17:01:22 +01:00
|
|
|
sleep_us(1000);
|
2022-09-21 13:16:53 +02:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|