Sha256: 4d86a4154ef20638d72ab2f585ec61f6c0881908d986a2b4ffb44efa97f97246

Contents?: true

Size: 691 Bytes

Versions: 12

Compression:

Stored size: 691 Bytes

Contents

/*
 * math_constants.h - 
 *  HIP equivalent of the CUDA header of the same name
 */

#ifndef __MATH_CONSTANTS_H__
#define __MATH_CONSTANTS_H__

/* single precision constants */

#define HIPRT_INF_F        __int_as_float(0x7f800000)
#define HIPRT_NAN_F        __int_as_float(0x7fffffff)
#define HIPRT_MIN_DENORM_F __int_as_float(0x00000001)
#define HIPRT_MAX_NORMAL_F __int_as_float(0x7f7fffff)
#define HIPRT_NEG_ZERO_F   __int_as_float(0x80000000)
#define HIPRT_ZERO_F       0.0f
#define HIPRT_ONE_F        1.0f

/* double precision constants */
#define HIPRT_INF          __hiloint2double(0x7ff00000, 0x00000000)
#define HIPRT_NAN          __hiloint2double(0xfff80000, 0x00000000)

#endif

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
tomoto-0.4.1 vendor/eigen/Eigen/src/Core/arch/HIP/hcc/math_constants.h
umappp-0.2.0 vendor/Eigen/src/Core/arch/HIP/hcc/math_constants.h
tomoto-0.4.0 vendor/eigen/Eigen/src/Core/arch/HIP/hcc/math_constants.h
tomoto-0.3.3 vendor/eigen/Eigen/src/Core/arch/HIP/hcc/math_constants.h
tomoto-0.3.2 vendor/eigen/Eigen/src/Core/arch/HIP/hcc/math_constants.h
tomoto-0.3.1 vendor/eigen/Eigen/src/Core/arch/HIP/hcc/math_constants.h
umappp-0.1.6 vendor/Eigen/src/Core/arch/HIP/hcc/math_constants.h
umappp-0.1.5 vendor/Eigen/src/Core/arch/HIP/hcc/math_constants.h
umappp-0.1.4 vendor/Eigen/src/Core/arch/HIP/hcc/math_constants.h
umappp-0.1.3 vendor/Eigen/src/Core/arch/HIP/hcc/math_constants.h
umappp-0.1.2 vendor/Eigen/src/Core/arch/HIP/hcc/math_constants.h
tomoto-0.3.0 vendor/eigen/Eigen/src/Core/arch/HIP/hcc/math_constants.h