Skip to content

Commit c7df883

Browse files
authored
[libc] Use intermediate float operations on the GPU (#155869)
Summary: Move the GPU config to the common directory instead of copying it and enable the intermediate float option in the math library.
1 parent 2eaba46 commit c7df883

File tree

2 files changed

+1
-46
lines changed

2 files changed

+1
-46
lines changed

libc/config/gpu/amdgpu/config.json renamed to libc/config/gpu/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"math": {
4141
"LIBC_CONF_MATH_OPTIMIZATIONS": {
42-
"value": "(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_SMALL_TABLES | LIBC_MATH_NO_ERRNO | LIBC_MATH_NO_EXCEPT)"
42+
"value": "(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_INTERMEDIATE_COMP_IN_FLOAT | LIBC_MATH_SMALL_TABLES | LIBC_MATH_NO_ERRNO | LIBC_MATH_NO_EXCEPT)"
4343
}
4444
}
4545
}

libc/config/gpu/nvptx/config.json

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

0 commit comments

Comments
 (0)