diff options
| author | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2015-05-06 10:58:40 +0000 |
|---|---|---|
| committer | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2015-05-06 10:58:40 +0000 |
| commit | 8389e235e9e00d3dbcb663816f2b6ba7e768c1e5 (patch) | |
| tree | f1b3edbe46f925a943fb8c99592748c43862feb3 /openmp/offload/src | |
| parent | c076559a5bf109d53210f87b34387c077b2fdb24 (diff) | |
| download | bcm5719-llvm-8389e235e9e00d3dbcb663816f2b6ba7e768c1e5.tar.gz bcm5719-llvm-8389e235e9e00d3dbcb663816f2b6ba7e768c1e5.zip | |
Liboffload: Patch for MPSS > 3.4.x (provided by Tim Cramer)
llvm-svn: 236588
Diffstat (limited to 'openmp/offload/src')
| -rw-r--r-- | openmp/offload/src/cean_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openmp/offload/src/cean_util.h b/openmp/offload/src/cean_util.h index 0eb1f53cf68..d0debcc4b43 100644 --- a/openmp/offload/src/cean_util.h +++ b/openmp/offload/src/cean_util.h @@ -11,8 +11,12 @@ #ifndef CEAN_UTIL_H_INCLUDED #define CEAN_UTIL_H_INCLUDED +#if MPSS_VERSION > 33 +#include <source/COIBuffer_source.h> +#endif #include <stdint.h> +#if MPSS_VERSION <= 33 // CEAN expression representation struct dim_desc { int64_t size; // Length of data type @@ -27,6 +31,7 @@ struct arr_desc { int64_t rank; // Rank of array dim_desc dim[1]; }; +#endif struct CeanReadDim { int64_t count; // The number of elements in this dimension |

