Skip to content

Commit

Permalink
[SYCL][COMPAT] Added todo for bfloat16 clamp
Browse files Browse the repository at this point in the history
  • Loading branch information
Alcpz committed Apr 9, 2024
1 parent 0530048 commit 872d00b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sycl/include/syclcompat/math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ inline ValueT clamp(ValueT val, ValueT min_val, ValueT max_val) {
}

#ifdef SYCL_EXT_ONEAPI_BFLOAT16_MATH_FUNCTIONS
// TODO: Follow the process to add this to the extension. If added,
// remove this functionality from the header.
template <>
inline sycl::ext::oneapi::bfloat16 clamp(sycl::ext::oneapi::bfloat16 val,
sycl::ext::oneapi::bfloat16 min_val,
Expand Down

0 comments on commit 872d00b

Please sign in to comment.