Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "add fma to native builtins for AMD (#764)" #768

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions src/device_properties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,20 +133,17 @@ struct cvk_device_properties_amd : public cvk_device_properties {
cl_uint get_max_cmd_group_size() const override final { return 1; }
const std::set<std::string> get_native_builtins() const override final {
return std::set<std::string>({
"ceil", "copysign", "exp2",
"fdim", "floor", "fma",
"fmax", "fmin", "frexp",
"half_exp", "half_exp10", "half_exp2",
"half_log", "half_log10", "half_log2",
"half_powr", "half_rsqrt", "half_sqrt",
"isequal", "isfinite", "isgreater",
"isgreaterequal", "isinf", "isless",
"islessequal", "islessgreater", "isnan",
"isnormal", "isnotequal", "isordered",
"isunordered", "ldexp", "log",
"log10", "log2", "mad",
"rint", "round", "rsqrt",
"signbit", "sqrt", "trunc",
"ceil", "copysign", "exp2", "fdim",
"floor", "fmax", "fmin", "frexp",
"half_exp", "half_exp10", "half_exp2", "half_log",
"half_log10", "half_log2", "half_powr", "half_rsqrt",
"half_sqrt", "isequal", "isfinite", "isgreater",
"isgreaterequal", "isinf", "isless", "islessequal",
"islessgreater", "isnan", "isnormal", "isnotequal",
"isordered", "isunordered", "ldexp", "log",
"log10", "log2", "mad", "rint",
"round", "rsqrt", "signbit", "sqrt",
"trunc",
});
}
std::string get_compile_options() const override final {
Expand Down