Commit ad90707e authored by Cianciosa, Mark's avatar Cianciosa, Mark
Browse files

Fix build errors on linux.

parent 18ba760b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ target_include_directories (ml_embedder
                            INTERFACE

                            $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
                            $<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/_deps/json-src/include>
)

target_precompile_headers (ml_embedder
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
#include <iostream>
#include <type_traits>
#include <concepts>
#include <vector>

#include <hdf5.h>
#include <hdf5_hl.h>
+5 −2
Original line number Diff line number Diff line
@@ -75,7 +75,10 @@
      INTEGER(C_INT), PARAMETER                  :: batch_size = 10000

!  Start of executable code.
      model => ml_context(TGLF_MODEL_WEIGHTS // C_NULL_CHAR,                   &
      model => ml_context(                                                     &
!  These lines are long so start them at the beginning otherwise it will
!  overflow the line limits when the macro is expanded.
         TGLF_MODEL_WEIGHTS // C_NULL_CHAR, &
         TGLF_MODEL_CONFIG // C_NULL_CHAR)
      in_shape => model%get_in_shape()
      out_shape => model%get_out_shape()