forked from OSchip/llvm-project
Do not include clc_nextafter header globally
Drop unused clc/math/clc_nextafter.h header Reviewer: Jeroen Ketema Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 315190
This commit is contained in:
parent
6a5c8ddb3a
commit
1de1444d62
|
@ -1,5 +1,6 @@
|
|||
#include <clc/clc.h>
|
||||
#include "../lib/clcmacro.h"
|
||||
#include <math/clc_nextafter.h>
|
||||
|
||||
_CLC_DEFINE_BINARY_BUILTIN(float, nextafter, __clc_nextafter, float, float)
|
||||
|
||||
|
|
|
@ -264,9 +264,4 @@
|
|||
#include <clc/image/image_defines.h>
|
||||
#include <clc/image/image.h>
|
||||
|
||||
/* libclc internal defintions */
|
||||
#ifdef __CLC_INTERNAL
|
||||
#include <math/clc_nextafter.h>
|
||||
#endif
|
||||
|
||||
#pragma OPENCL EXTENSION all : disable
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
#define __CLC_BODY <clc/math/binary_decl.inc>
|
||||
|
||||
#define __CLC_FUNCTION nextafter
|
||||
#include <clc/math/gentype.inc>
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
#define __CLC_FUNCTION __clc_nextafter
|
||||
#include <clc/math/gentype.inc>
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
#undef __CLC_BODY
|
|
@ -54,6 +54,8 @@
|
|||
|
||||
#ifndef __FLOAT_ONLY
|
||||
#ifdef cl_khr_fp64
|
||||
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
|
||||
|
||||
#define __CLC_SCALAR_GENTYPE double
|
||||
#define __CLC_FPSIZE 64
|
||||
|
||||
|
|
Loading…
Reference in New Issue