You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
459 B

// IEEE floating-point
#ifndef _CL_IEEE_H
#define _CL_IEEE_H
namespace cln {
// To make sure that cl_ieee.cc is linked in.
// NEED_IEEE_FLOATS()
#if (defined(linux) || defined(__linux)) // only needed on Linux
#define NEED_IEEE_FLOATS() \
CL_REQUIRE(cl_ieee) \
CL_FORCE_LINK(CONCAT(cl_ieee_dummy_,__LINE__), cl_ieee_module)
#else
#define NEED_IEEE_FLOATS()
#endif
extern int cl_ieee_module;
} // namespace cln
#endif /* _CL_IEEE_H */