-
Notifications
You must be signed in to change notification settings - Fork 743
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix builds for ARPACK-NG, FFTW, ONNX Runtime
- Loading branch information
Showing
3 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,7 @@ | |
// "onnxruntime/core/providers/rocm/rocm_provider_factory.h", | ||
// "onnxruntime/core/providers/dml/dml_provider_factory.h", | ||
}, | ||
exclude = {"CL/opencl.h", "CL/cl_version.h", "CL/cl_platform.h", "CL/cl.h"/*, "CL/cl_gl.h", "CL/cl_gl_ext.h", "CL/cl_ext.h"*/}, | ||
link = {"onnxruntime_providers_shared", "[email protected]"} | ||
), | ||
@Platform( | ||
|
@@ -117,7 +118,8 @@ public class onnxruntime implements LoadEnabled, InfoMapper { | |
} | ||
|
||
public void map(InfoMap infoMap) { | ||
infoMap.put(new Info("ORTCHAR_T", "std::basic_string<ORTCHAR_T>", | ||
infoMap.putFirst(new Info("opencl.h", "cl_version.h", "cl_platform.h", "cl.h"/*, "cl_gl.h", "cl_gl_ext.h", "cl_ext.h"*/).skip()) | ||
.put(new Info("ORTCHAR_T", "std::basic_string<ORTCHAR_T>", | ||
"onnxruntime_float16::BFloat16Impl<BFloat16_t>", | ||
"onnxruntime_float16::Float16Impl<Float16_t>").cppText("").cppTypes().cast().pointerTypes("Pointer")) | ||
.put(new Info("ORT_EXPORT", "ORT_API_CALL", "ORT_FILE", "NO_EXCEPTION", "ORT_ALL_ARGS_NONNULL", "OrtCustomOpApi").cppTypes().annotations()) | ||
|