Skip to content

Commit

Permalink
Guard header with MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS (#2050)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlushuang authored Mar 28, 2023
1 parent d986920 commit 5f9e9af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/kernels/gpu_reference_kernel/naive_conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
typedef signed char int8_t;
typedef signed short int16_t;
typedef float float_t;
#ifndef MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS
#include <limits> // std::numeric_limits
#endif

#else
#include <cstdint> // int8_t, int16_t
Expand Down

0 comments on commit 5f9e9af

Please sign in to comment.