Skip to content

Commit 23d28ce

Browse files
committed
add sub_sat/rhadd
1 parent 51f5a1c commit 23d28ce

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

libclc/opencl/include/clc/opencl/integer/rhadd.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
#ifndef __CLC_OPENCL_INTEGER_RHADD_H__
10+
#define __CLC_OPENCL_INTEGER_RHADD_H__
11+
912
#define FUNCTION rhadd
1013
#define __CLC_BODY <clc/shared/binary_decl.inc>
1114

1215
#include <clc/integer/gentype.inc>
1316

1417
#undef FUNCTION
18+
19+
#endif // __CLC_OPENCL_INTEGER_RHADD_H__

libclc/opencl/include/clc/opencl/integer/sub_sat.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
#ifndef __CLC_OPENCL_INTEGER_SUB_SAT_H__
10+
#define __CLC_OPENCL_INTEGER_SUB_SAT_H__
11+
912
#define FUNCTION sub_sat
1013
#define __CLC_BODY <clc/shared/binary_decl.inc>
1114

1215
#include <clc/integer/gentype.inc>
1316

1417
#undef FUNCTION
18+
19+
#endif // __CLC_OPENCL_INTEGER_SUB_SAT_H__

libclc/opencl/lib/generic/integer/rhadd.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
#include <clc/integer/clc_rhadd.h>
10-
#include <clc/opencl/clc.h>
10+
#include <clc/opencl/integer/rhadd.h>
1111

1212
#define FUNCTION rhadd
1313
#define __CLC_BODY <clc/shared/binary_def.inc>

libclc/opencl/lib/generic/integer/sub_sat.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
#include <clc/integer/clc_sub_sat.h>
10-
#include <clc/opencl/clc.h>
10+
#include <clc/opencl/integer/sub_sat.h>
1111

1212
#define FUNCTION sub_sat
1313
#define __CLC_BODY <clc/shared/binary_def.inc>

0 commit comments

Comments
 (0)