diff --git a/src/care/care_inst.h b/src/care/care_inst.h index b1356ce4..2d8ad534 100644 --- a/src/care/care_inst.h +++ b/src/care/care_inst.h @@ -882,7 +882,10 @@ CARE_EXTERN template CARE_DLL_API float ArraySum(care::host_device_ptr, int, float) ; CARE_EXTERN template CARE_DLL_API double ArraySum(care::host_device_ptr, int, double) ; -// TODO GID not implemented +#if CARE_HAVE_LLNL_GLOBALID +CARE_EXTERN template CARE_DLL_API +globalID ArraySum(care::host_device_ptr, int, globalID) ; +#endif #endif // defined(CARE_PARALLEL_DEVICE) @@ -894,6 +897,10 @@ CARE_EXTERN template CARE_DLL_API float ArraySum(care::host_device_ptr, int, float) ; CARE_EXTERN template CARE_DLL_API double ArraySum(care::host_device_ptr, int, double) ; +#if CARE_HAVE_LLNL_GLOBALID +CARE_EXTERN template CARE_DLL_API +globalID ArraySum(care::host_device_ptr, int, globalID) ; +#endif // TODO GID not implemented /////////////////////////////////////////////////////////////////////////////// @@ -908,7 +915,10 @@ CARE_EXTERN template CARE_DLL_API float ArraySumSubset(care::host_device_ptr, care::host_device_ptr, int, float) ; CARE_EXTERN template CARE_DLL_API double ArraySumSubset(care::host_device_ptr, care::host_device_ptr, int, double) ; -// TODO GID not implemented +#if CARE_HAVE_LLNL_GLOBALID +CARE_EXTERN template CARE_DLL_API +globalID ArraySumSubset(care::host_device_ptr, care::host_device_ptr, int, globalID) ; +#endif #endif // defined(CARE_PARALLEL_DEVICE) @@ -920,7 +930,10 @@ CARE_EXTERN template CARE_DLL_API float ArraySumSubset(care::host_device_ptr, care::host_device_ptr, int, float) ; CARE_EXTERN template CARE_DLL_API double ArraySumSubset(care::host_device_ptr, care::host_device_ptr, int, double) ; -// TODO GID not implemented +#if CARE_HAVE_LLNL_GLOBALID +CARE_EXTERN template CARE_DLL_API +globalID ArraySumSubset(care::host_device_ptr, care::host_device_ptr, int, globalID) ; +#endif /////////////////////////////////////////////////////////////////////////////// @@ -934,7 +947,10 @@ CARE_EXTERN template CARE_DLL_API float ArrayMaskedSumSubset(care::host_device_ptr, care::host_device_ptr, care::host_device_ptr, int, float) ; CARE_EXTERN template CARE_DLL_API double ArrayMaskedSumSubset(care::host_device_ptr, care::host_device_ptr, care::host_device_ptr, int, double) ; -// TODO GID not implemented +#if CARE_HAVE_LLNL_GLOBALID +CARE_EXTERN template CARE_DLL_API +globalID ArrayMaskedSumSubset(care::host_device_ptr, care::host_device_ptr, care::host_device_ptr, int, globalID) ; +#endif #endif // defined(CARE_PARALLEL_DEVICE) @@ -946,7 +962,10 @@ CARE_EXTERN template CARE_DLL_API float ArrayMaskedSumSubset(care::host_device_ptr, care::host_device_ptr, care::host_device_ptr, int, float) ; CARE_EXTERN template CARE_DLL_API double ArrayMaskedSumSubset(care::host_device_ptr, care::host_device_ptr, care::host_device_ptr, int, double) ; -// TODO GID not implemented +#if CARE_HAVE_LLNL_GLOBALID +CARE_EXTERN template CARE_DLL_API +globalID ArrayMaskedSumSubset(care::host_device_ptr, care::host_device_ptr, care::host_device_ptr, int, globalID) ; +#endif /////////////////////////////////////////////////////////////////////////////// @@ -960,7 +979,10 @@ CARE_EXTERN template CARE_DLL_API float ArrayMaskedSum(care::host_device_ptr, care::host_device_ptr, int, float) ; CARE_EXTERN template CARE_DLL_API double ArrayMaskedSum(care::host_device_ptr, care::host_device_ptr, int, double) ; -// TODO GID not implemented +#if CARE_HAVE_LLNL_GLOBALID +CARE_EXTERN template CARE_DLL_API +globalID ArrayMaskedSum(care::host_device_ptr, care::host_device_ptr, int, globalID) ; +#endif #endif // defined(CARE_PARALLEL_DEVICE) @@ -972,7 +994,10 @@ CARE_EXTERN template CARE_DLL_API float ArrayMaskedSum(care::host_device_ptr, care::host_device_ptr, int, float) ; CARE_EXTERN template CARE_DLL_API double ArrayMaskedSum(care::host_device_ptr, care::host_device_ptr, int, double) ; -// TODO GID not implemented +#if CARE_HAVE_LLNL_GLOBALID +CARE_EXTERN template CARE_DLL_API +globalID ArrayMaskedSum(care::host_device_ptr, care::host_device_ptr, int, globalID) ; +#endif ///////////////////////////////////////////////////////////////////////////////