Skip to content
Merged
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
5 changes: 5 additions & 0 deletions libclc/amdgcn-amdhsa/libspirv/math/sqrt.cl
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ _CLC_OVERLOAD _CLC_DECL _CLC_CONSTFN __clc_fp32_t
__spirv_ocl_sqrt(__clc_fp32_t In) {
return __builtin_amdgcn_sqrtf(In);
}

_CLC_OVERLOAD _CLC_DECL _CLC_CONSTFN __clc_fp64_t
__spirv_ocl_sqrt(__clc_fp64_t In) {
return __builtin_amdgcn_sqrt(In);
}