diff --git a/generate/generate.py b/generate/generate.py index 80cc8c5d78ceff30871108a5707422753da7a656..f8f36f4e3860fe48ebd05d3bfb6d231b5abb0ca7 100644 --- a/generate/generate.py +++ b/generate/generate.py @@ -117,6 +117,7 @@ def generate_cmake_from_cpp_files(output_dir_path: str): print(f"", file=f) print(f"if(NOT WALBERLA_DOUBLE_ACCURACY)", file=f) print(f' add_compile_options( "-Wno-float-conversion" )', file=f) + print(f' add_compile_options( "-Wno-implicit-float-conversion" )', file=f) print(f"endif()", file=f) print(f"", file=f) @@ -256,6 +257,7 @@ def generate_operator( "fp16": types.hyteg_type(types.HFGPrecision.FP16), "fp32": types.hyteg_type(types.HFGPrecision.FP32), "fp64": types.hyteg_type(types.HFGPrecision.FP64), + "real_t": types.hyteg_type(types.HFGPrecision.REAL_T), } blending_maps = { "IdentityMap": hfg.blending.IdentityMap(), diff --git a/operators/CMakeLists.txt b/operators/CMakeLists.txt index 6e30cd4dd24db316287e6e442c19e2ae179708b6..d7b7d0ad813fac7625d5cf4f519ee018dd1a1dc5 100644 --- a/operators/CMakeLists.txt +++ b/operators/CMakeLists.txt @@ -2,6 +2,7 @@ add_compile_options( "-Wno-shadow" ) if(NOT WALBERLA_DOUBLE_ACCURACY) add_compile_options( "-Wno-float-conversion" ) + add_compile_options( "-Wno-implicit-float-conversion" ) endif() add_subdirectory(curl_curl)