mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 00:22:55 +08:00
20584b9d44
* [libtorch] update to 2.1.2 * adjust features and deps * remove dep * fix onnx case * use system fxdiv * update xnnpack * fxdiv fix in libtorch * add newline * xnnpack does not install configs * more patching * fix patch * more fixes * use full lib for sleef. * fix glog symbol on osx * try fixing msvc ice * ok renaming did nothing * v db * remove comments * v db * cuda is only for x64 * v db * fix usage since cuda is still external to vcpkg * v db --------- Co-authored-by: Jim wang (BEYONDSOFT CONSULTING INC) <v-wangjim@microsoft.com>
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
diff --git a/aten/src/ATen/Context.h b/aten/src/ATen/Context.h
|
|
index 285c6f7..1040acc 100644
|
|
--- a/aten/src/ATen/Context.h
|
|
+++ b/aten/src/ATen/Context.h
|
|
@@ -28,7 +28,7 @@ namespace at {
|
|
|
|
class Tensor;
|
|
|
|
-enum class TORCH_API Float32MatmulPrecision { HIGHEST, HIGH, MEDIUM };
|
|
+enum class Float32MatmulPrecision { HIGHEST, HIGH, MEDIUM };
|
|
|
|
class TORCH_API Context {
|
|
public:
|
|
diff --git a/aten/src/ATen/core/function_schema.h b/aten/src/ATen/core/function_schema.h
|
|
index c48e9b0..cd8d4dd 100644
|
|
--- a/aten/src/ATen/core/function_schema.h
|
|
+++ b/aten/src/ATen/core/function_schema.h
|
|
@@ -206,7 +206,7 @@ inline bool operator!=(const Argument& lhs, const Argument& rhs) {
|
|
return !(lhs == rhs);
|
|
}
|
|
|
|
-enum struct TORCH_API SchemaArgType { input, output };
|
|
+enum struct SchemaArgType { input, output };
|
|
|
|
/**
|
|
* struct SchemaArgument
|
|
diff --git a/torch/csrc/jit/runtime/static/native_ops.cpp b/torch/csrc/jit/runtime/static/native_ops.cpp
|
|
index 7f3cbcf..fe80ab1 100644
|
|
--- a/torch/csrc/jit/runtime/static/native_ops.cpp
|
|
+++ b/torch/csrc/jit/runtime/static/native_ops.cpp
|
|
@@ -1055,7 +1055,7 @@ namespace {
|
|
execution is completed, future is marked as complete to
|
|
indicate aten::wait() to proceed
|
|
*/
|
|
-class TORCH_API ForkedSubgraphSRLauncher {
|
|
+class ForkedSubgraphSRLauncher {
|
|
public:
|
|
ForkedSubgraphSRLauncher(
|
|
std::shared_ptr<StaticModule> smodule,
|