Source: https://github.com/Niko1221/Strata, commit 6f32ec070f23ced9f50e704d854d775da52591ab (engine 0.1.39, MIT). Every file is as upstream published it; later commits show exactly what this fork changes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
5 lines
185 B
C
5 lines
185 B
C
// math_constants.h for a STRATA_ENABLE_HIP build: the CUDART_* constants the tree uses.
|
|
#pragma once
|
|
#define CUDART_INF_F __builtin_huge_valf()
|
|
#define CUDART_NAN_F __builtin_nanf("")
|