From caa548e396d0da0e8908d72d8eb276f5caaaf963 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Wed, 27 Nov 2019 12:29:10 -0800 Subject: [PATCH] C++11 -> C++14 --- _sources/frontend.rst.txt | 2 +- _sources/installing.rst.txt | 2 +- _sources/notes/tensor_basics.rst.txt | 2 +- frontend.html | 4 ++-- installing.html | 4 ++-- notes/tensor_basics.html | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/_sources/frontend.rst.txt b/_sources/frontend.rst.txt index b54e6befc2c..68dbf7cadb5 100644 --- a/_sources/frontend.rst.txt +++ b/_sources/frontend.rst.txt @@ -1,7 +1,7 @@ The C++ Frontend ================ -The PyTorch C++ frontend is a C++11 library for CPU and GPU +The PyTorch C++ frontend is a C++14 library for CPU and GPU tensor computation, with automatic differentiation and high level building blocks for state of the art machine learning applications. diff --git a/_sources/installing.rst.txt b/_sources/installing.rst.txt index a97ead947c2..75bc3554f04 100644 --- a/_sources/installing.rst.txt +++ b/_sources/installing.rst.txt @@ -38,7 +38,7 @@ this: add_executable(example-app example-app.cpp) target_link_libraries(example-app "${TORCH_LIBRARIES}") - set_property(TARGET example-app PROPERTY CXX_STANDARD 11) + set_property(TARGET example-app PROPERTY CXX_STANDARD 14) # The following code block is suggested to be used on Windows. # According to https://github.com/pytorch/pytorch/issues/25457, diff --git a/_sources/notes/tensor_basics.rst.txt b/_sources/notes/tensor_basics.rst.txt index 09032546a3a..e9058e7de81 100644 --- a/_sources/notes/tensor_basics.rst.txt +++ b/_sources/notes/tensor_basics.rst.txt @@ -2,7 +2,7 @@ Tensor Basics ============= The ATen tensor library backing PyTorch is a simple tensor library thats exposes -the Tensor operations in Torch directly in C++11. ATen's API is auto-generated +the Tensor operations in Torch directly in C++14. ATen's API is auto-generated from the same declarations PyTorch uses so the two APIs will track each other over time. diff --git a/frontend.html b/frontend.html index 9dafaf960bf..34b3bf6df95 100644 --- a/frontend.html +++ b/frontend.html @@ -269,7 +269,7 @@

The C++ Frontend

-

The PyTorch C++ frontend is a C++11 library for CPU and GPU +

The PyTorch C++ frontend is a C++14 library for CPU and GPU tensor computation, with automatic differentiation and high level building blocks for state of the art machine learning applications.

@@ -703,4 +703,4 @@

Resources

}) - \ No newline at end of file + diff --git a/installing.html b/installing.html index c729a457759..31f144e3dd6 100644 --- a/installing.html +++ b/installing.html @@ -298,7 +298,7 @@

Minimal Exampleadd_executable(example-app example-app.cpp) target_link_libraries(example-app "${TORCH_LIBRARIES}") -set_property(TARGET example-app PROPERTY CXX_STANDARD 11) +set_property(TARGET example-app PROPERTY CXX_STANDARD 14) # The following code block is suggested to be used on Windows. # According to https://github.com/pytorch/pytorch/issues/25457, @@ -675,4 +675,4 @@

Resources

}) - \ No newline at end of file + diff --git a/notes/tensor_basics.html b/notes/tensor_basics.html index 56e63774b6b..5285e9c4e21 100644 --- a/notes/tensor_basics.html +++ b/notes/tensor_basics.html @@ -270,7 +270,7 @@

Tensor Basics

The ATen tensor library backing PyTorch is a simple tensor library thats exposes -the Tensor operations in Torch directly in C++11. ATen’s API is auto-generated +the Tensor operations in Torch directly in C++14. ATen’s API is auto-generated from the same declarations PyTorch uses so the two APIs will track each other over time.

Tensor types are resolved dynamically, such that the API is generic and does not @@ -679,4 +679,4 @@

Resources

}) - \ No newline at end of file +