summaryrefslogtreecommitdiff
path: root/libc/src/math/amdgpu/expf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/math/amdgpu/expf.cpp')
-rw-r--r--libc/src/math/amdgpu/expf.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/math/amdgpu/expf.cpp b/libc/src/math/amdgpu/expf.cpp
index 33393078cfa3..6c44aad164bf 100644
--- a/libc/src/math/amdgpu/expf.cpp
+++ b/libc/src/math/amdgpu/expf.cpp
@@ -10,9 +10,10 @@
#include "src/__support/common.h"
#include "declarations.h"
+#include "src/__support/macros/config.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(float, expf, (float x)) { return __ocml_exp_f32(x); }
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL