diff options
Diffstat (limited to 'openmp/offload/src/offload_orsl.h')
| -rw-r--r-- | openmp/offload/src/offload_orsl.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/openmp/offload/src/offload_orsl.h b/openmp/offload/src/offload_orsl.h new file mode 100644 index 00000000000..cdb86f913a2 --- /dev/null +++ b/openmp/offload/src/offload_orsl.h @@ -0,0 +1,25 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.txt for details. +// +//===----------------------------------------------------------------------===// + + +#ifndef OFFLOAD_ORSL_H_INCLUDED +#define OFFLOAD_ORSL_H_INCLUDED + +// ORSL interface +namespace ORSL { + +extern void init(); + +extern bool reserve(int device); +extern bool try_reserve(int device); +extern void release(int device); + +} // namespace ORSL + +#endif // OFFLOAD_ORSL_H_INCLUDED |

