fix redundant macro in hl_device_functions.cuh

avx_docs
gangliao 9 years ago committed by GitHub
parent 30bb3830be
commit b159a36e3f

@ -16,8 +16,6 @@ limitations under the License. */
#ifndef HL_DEVICE_FUNCTIONS_CUH_
#define HL_DEVICE_FUNCTIONS_CUH_
#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ < 600
namespace hppl {
static __inline__ __device__ double atomicAdd(double* address, double val) {
@ -42,6 +40,4 @@ static __inline__ __device__ double atomicAdd(double* address, double val) {
using hppl::atomicAdd;
#endif
#endif
#endif /* HL_DEVICE_FUNCTIONS_CUH_ */

Loading…
Cancel
Save