Skip to content

Commit

Permalink
Merge pull request #4917 from danijel3/master
Browse files Browse the repository at this point in the history
Fix missing FLT_MAX in some CUDA installation scenarios.
  • Loading branch information
danpovey authored Jun 3, 2024
2 parents 51744d3 + f328393 commit 67548a3
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 67548a3

Please sign in to comment.