diff options
author | Jim Cownie <james.h.cownie@intel.com> | 2014-04-09 15:40:23 +0000 |
---|---|---|
committer | Jim Cownie <james.h.cownie@intel.com> | 2014-04-09 15:40:23 +0000 |
commit | 33f7b24d9f704afd80f768cf91f777a65f8f0718 (patch) | |
tree | 9e13f5de0d009a3469dd6a980bb60a6cb7fdc571 /openmp/offload/src/offload_target_main.cpp | |
parent | 30d56a7b860b9eed3447ae3d96cacd600b58856f (diff) | |
download | bcm5719-llvm-33f7b24d9f704afd80f768cf91f777a65f8f0718.tar.gz bcm5719-llvm-33f7b24d9f704afd80f768cf91f777a65f8f0718.zip |
Add the offload directory which contains the code needed to support
OpenMP 4.0 "target" directives. This will need more work for
generality, but we want to get it out and visible to the community.
llvm-svn: 205909
Diffstat (limited to 'openmp/offload/src/offload_target_main.cpp')
-rw-r--r-- | openmp/offload/src/offload_target_main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/openmp/offload/src/offload_target_main.cpp b/openmp/offload/src/offload_target_main.cpp new file mode 100644 index 00000000000..a4921d2752c --- /dev/null +++ b/openmp/offload/src/offload_target_main.cpp @@ -0,0 +1,17 @@ +//===----------------------------------------------------------------------===// +// +// 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. +// +//===----------------------------------------------------------------------===// + + +extern "C" void __offload_target_main(void); + +int main(int argc, char ** argv) +{ + __offload_target_main(); + return 0; +} |