From bc45c402314183d18a914613f09527e8cb931067 Mon Sep 17 00:00:00 2001 From: Hansung Kim Date: Wed, 1 May 2024 22:01:34 -0700 Subject: [PATCH] tensor: Rename half.hpp -> half.h addResource() thinks it's a Verilog source file if it ends in .hpp, for some reason. --- hw/dpi/float_dpi.cpp | 2 +- hw/dpi/{half.hpp => half.h} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename hw/dpi/{half.hpp => half.h} (99%) diff --git a/hw/dpi/float_dpi.cpp b/hw/dpi/float_dpi.cpp index 71245c4c..0ed2ee9f 100644 --- a/hw/dpi/float_dpi.cpp +++ b/hw/dpi/float_dpi.cpp @@ -24,7 +24,7 @@ #include "VX_config.h" #include -#include "half.hpp" +#include "half.h" extern "C" { void dpi_fadd(bool enable, int dst_fmt, int64_t a, int64_t b, const svBitVecVal* frm, int64_t* result, svBitVecVal* fflags); diff --git a/hw/dpi/half.hpp b/hw/dpi/half.h similarity index 99% rename from hw/dpi/half.hpp rename to hw/dpi/half.h index 18596f97..218418a2 100644 --- a/hw/dpi/half.hpp +++ b/hw/dpi/half.h @@ -4015,4 +4015,4 @@ namespace half_float { #ifdef HALF_POP_WARNINGS #pragma warning(pop) #undef HALF_POP_WARNINGS -#endif \ No newline at end of file +#endif