Skip to content

Commit

Permalink
libclc: fix clcmaro.h path for rsqrt.cl
Browse files Browse the repository at this point in the history
  • Loading branch information
jsji committed Dec 1, 2024
1 parent 6c524eb commit 69da5c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion libclc/generic/libspirv/math/clc_hypot.cl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <spirv/spirv.h>

#include <clc/clc.h>
#include <clc/clcmacro.h>
#include <clc/shared/clc_clamp.h>
#include <clc/clcmacro.h>
#include <config.h>
Expand Down
2 changes: 1 addition & 1 deletion libclc/generic/libspirv/math/rsqrt.cl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <spirv/spirv.h>

#include "clcmacro.h"
#include <clc/clcmacro.h>

_CLC_OVERLOAD _CLC_DEF float __spirv_ocl_rsqrt(float x) {
return 1.0f / __spirv_ocl_sqrt(x);
Expand Down

0 comments on commit 69da5c5

Please sign in to comment.