Skip to content

Commit 9d30f11

Browse files
committed
[libc] Remove use of __builtin_modf in GPU math
Summary: This function was not actually supported, see https://godbolt.org/z/MP1j5EeWc. Unsure why we only now begun seeing failures related to it.
1 parent facb89a commit 9d30f11

File tree

6 files changed

+0
-112
lines changed

6 files changed

+0
-112
lines changed

libc/src/math/amdgpu/CMakeLists.txt

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -176,26 +176,6 @@ add_entrypoint_object(
176176
-O2
177177
)
178178

179-
add_entrypoint_object(
180-
modf
181-
SRCS
182-
modf.cpp
183-
HDRS
184-
../modf.h
185-
COMPILE_OPTIONS
186-
-O2
187-
)
188-
189-
add_entrypoint_object(
190-
modff
191-
SRCS
192-
modff.cpp
193-
HDRS
194-
../modff.h
195-
COMPILE_OPTIONS
196-
-O2
197-
)
198-
199179
add_entrypoint_object(
200180
nearbyint
201181
SRCS

libc/src/math/amdgpu/modf.cpp

Lines changed: 0 additions & 18 deletions
This file was deleted.

libc/src/math/amdgpu/modff.cpp

Lines changed: 0 additions & 18 deletions
This file was deleted.

libc/src/math/nvptx/CMakeLists.txt

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -177,26 +177,6 @@ add_entrypoint_object(
177177
-O2
178178
)
179179

180-
add_entrypoint_object(
181-
modf
182-
SRCS
183-
modf.cpp
184-
HDRS
185-
../modf.h
186-
COMPILE_OPTIONS
187-
-O2
188-
)
189-
190-
add_entrypoint_object(
191-
modff
192-
SRCS
193-
modff.cpp
194-
HDRS
195-
../modff.h
196-
COMPILE_OPTIONS
197-
-O2
198-
)
199-
200180
add_entrypoint_object(
201181
nearbyint
202182
SRCS

libc/src/math/nvptx/modf.cpp

Lines changed: 0 additions & 18 deletions
This file was deleted.

libc/src/math/nvptx/modff.cpp

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)