Skip to content

Commit 80913b4

Browse files
committed
[libclc][NFC] Reuse inc file for OpenCL frexp decl
1 parent 1a08aa2 commit 80913b4

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

libclc/opencl/include/clc/opencl/math/frexp.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#define __CLC_BODY <clc/opencl/math/frexp.inc>
9+
#define __CLC_FUNCTION frexp
10+
#define __CLC_BODY <clc/math/unary_decl_with_int_ptr.inc>
1011
#include <clc/math/gentype.inc>
12+
13+
#undef __CLC_FUNCTION

libclc/opencl/include/clc/opencl/math/frexp.inc

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)