diff --git a/src/macros.h b/src/macros.h index 41541304..6af1c340 100644 --- a/src/macros.h +++ b/src/macros.h @@ -40,7 +40,11 @@ /** Number of outer loop iterations for offload code */ -#define BML_OFFLOAD_CHUNKS (defined(INTEL_SDK) || defined(CRAY_SDK) || defined(__IBMC__) || defined(__ibmxl__)) +#if (defined(INTEL_SDK) || defined(CRAY_SDK) || defined(__IBMC__) || defined(__ibmxl__)) +#define BML_OFFLOAD_CHUNKS 1 +#else +#define BML_OFFLOAD_CHUNKS 0 +#endif #ifdef BML_OFFLOAD_CHUNKS #ifndef BML_OFFLOAD_NUM_CHUNKS