Skip to content

Commit 2fb6ff4

Browse files
committed
[libclc] Fix header inclusion issues
For some reason these weren't picked up by pre-commit CI.
1 parent b95ad8e commit 2fb6ff4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

libclc/clc/include/clc/geometric/clc_cross.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#ifndef __CLC_GEOMETRIC_CLC_CROSS_H__
1010
#define __CLC_GEOMETRIC_CLC_CROSS_H__
1111

12+
#include <clc/internal/clc.h>
13+
1214
_CLC_OVERLOAD _CLC_DECL float3 __clc_cross(float3 p0, float3 p1);
1315
_CLC_OVERLOAD _CLC_DECL float4 __clc_cross(float4 p0, float4 p1);
1416

libclc/opencl/include/clc/opencl/clc.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,10 @@
211211
#include <clc/opencl/relational/select.h>
212212
#include <clc/opencl/relational/signbit.h>
213213

214+
#include <clc/opencl/synchronization/cl_mem_fence_flags.h>
215+
214216
/* 6.11.8 Synchronization Functions */
215217
#include <clc/opencl/synchronization/barrier.h>
216-
#include <clc/opencl/synchronization/cl_mem_fence_flags.h>
217218

218219
/* 6.11.9 Explicit Memory Fence Functions */
219220
#include <clc/opencl/explicit_fence/explicit_memory_fence.h>

0 commit comments

Comments
 (0)