OWL
Loading...
Searching...
No Matches
Functions
owl::common::polymorphic Namespace Reference

Functions

__both__ float sqrt (const float f)
 
__both__ double sqrt (const double d)
 
__both__ float rsqrt (const float f)
 
__both__ double rsqrt (const double d)
 

Detailed Description

namespace that offers polymorphic overloads of functions like sqrt, rsqrt, sin, cos, etc (that vary based on float vs double), and that is NOT in a default namespace where ti would/could clash with cuda or system-defines of the same name