Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++11 -> C++14 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _sources/frontend.rst.txt
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion _sources/installing.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:/pytorch/pytorch/issues/25457,
Expand Down
2 changes: 1 addition & 1 deletion _sources/notes/tensor_basics.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions frontend.html
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@

<div class="section" id="the-c-frontend">
<h1>The C++ Frontend<a class="headerlink" href="#the-c-frontend" title="Permalink to this headline">¶</a></h1>
<p>The PyTorch C++ frontend is a C++11 library for CPU and GPU
<p>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.</p>
<div class="section" id="description">
Expand Down Expand Up @@ -703,4 +703,4 @@ <h2>Resources</h2>
})
</script>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions installing.html
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ <h2>Minimal Example<a class="headerlink" href="#minimal-example" title="Permalin

<span class="nb">add_executable</span><span class="p">(</span><span class="s">example-app</span> <span class="s">example-app.cpp</span><span class="p">)</span>
<span class="nb">target_link_libraries</span><span class="p">(</span><span class="s">example-app</span> <span class="s2">&quot;${TORCH_LIBRARIES}&quot;</span><span class="p">)</span>
<span class="nb">set_property</span><span class="p">(</span><span class="s">TARGET</span> <span class="s">example-app</span> <span class="s">PROPERTY</span> <span class="s">CXX_STANDARD</span> <span class="s">11</span><span class="p">)</span>
<span class="nb">set_property</span><span class="p">(</span><span class="s">TARGET</span> <span class="s">example-app</span> <span class="s">PROPERTY</span> <span class="s">CXX_STANDARD</span> <span class="s">14</span><span class="p">)</span>

<span class="c"># The following code block is suggested to be used on Windows.</span>
<span class="c"># According to https:/pytorch/pytorch/issues/25457,</span>
Expand Down Expand Up @@ -675,4 +675,4 @@ <h2>Resources</h2>
})
</script>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions notes/tensor_basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
<div class="section" id="tensor-basics">
<h1>Tensor Basics<a class="headerlink" href="#tensor-basics" title="Permalink to this headline">¶</a></h1>
<p>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.</p>
<p>Tensor types are resolved dynamically, such that the API is generic and does not
Expand Down Expand Up @@ -679,4 +679,4 @@ <h2>Resources</h2>
})
</script>
</body>
</html>
</html>