Skip to content

Commit

Permalink
fix redundant macro in hl_device_functions.cuh
Browse files Browse the repository at this point in the history
  • Loading branch information
gangliao authored Sep 9, 2016
1 parent 30bb383 commit b159a36
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions paddle/cuda/include/hl_device_functions.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -42,6 +40,4 @@ static __inline__ __device__ double atomicAdd(double* address, double val) {
using hppl::atomicAdd;
#endif

#endif

#endif /* HL_DEVICE_FUNCTIONS_CUH_ */

0 comments on commit b159a36

Please sign in to comment.