Skip to content

Commit

Permalink
Fix missing FLT_MAX in some CUDA installation scenarios.
Browse files Browse the repository at this point in the history
  • Loading branch information
danijel3 committed Jun 2, 2024
1 parent 51744d3 commit f328393
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cudadecoder/cuda-decoder-kernels.cu
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
#include "cuda-decoder-kernels.h"
#include "cuda-decoder-kernels-utils.h"

#ifndef FLT_MAX
#define FLT_MAX 340282346638528859811704183484516925440.0f
#endif

namespace kaldi {
namespace cuda_decoder {

Expand Down

0 comments on commit f328393

Please sign in to comment.