Skip to content

Add mention of C++ AMP deprecation #3221

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

Merged
merged 5 commits into from
Jun 29, 2021
Merged
Show file tree
Hide file tree
Changes from 3 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
1 change: 1 addition & 0 deletions docs/overview/whats-new-cpp-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ For the latest C++ conformance status, see [C++ conformance improvements in Visu
- [`assert Macro, _assert, _wassert`](../c-runtime-library/reference/assert-macro-assert-wassert.md) - Clarified assert behavior
- [`vsnprintf_s, _vsnprintf_s, _vsnprintf_s_l, _vsnwprintf_s, _vsnwprintf_s_l`](../c-runtime-library/reference/vsnprintf-s-vsnprintf-s-vsnprintf-s-l-vsnwprintf-s-vsnwprintf-s-l.md) - Clarified return values
- [`setlocale, _wsetlocale`](../c-runtime-library/reference/setlocale-wsetlocale.md) - Added C Runtime UTF-8 support info
- [`C++ AMP Overview`](../parallel/amp/cpp-amp-overview.md) - Added note about C++ AMP deprecation.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about pulling this one change out. It's sitting in the section for what's new in VS 16.8
I won't create a new section for VS 2022 until VS 2022 goes out (otherwise it looks like VS 2022 is released).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, but we need to remember to add the note to the release notes. It's important people know about the change when upgrading.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These aren't the release notes. This should be noted in the release notes, but not here (yet).


## C/C++ preprocessor reference

Expand Down
4 changes: 4 additions & 0 deletions docs/parallel/amp/cpp-amp-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ ms.assetid: 9e593b06-6e3c-43e9-8bae-6d89efdd39fc
---
# C++ AMP Overview

> [!NOTE]
> C++ AMP headers are deprecated, starting with Visual Studio 2022 version 17.0.
> Including any AMP headers will generate build errors. To Silence the errors, define "_SILENCE_AMP_DEPRECATION_WARNINGS" before including the headers.

C++ Accelerated Massive Parallelism (C++ AMP) accelerates execution of C++ code by taking advantage of data-parallel hardware such as a graphics processing unit (GPU) on a discrete graphics card. By using C++ AMP, you can code multi-dimensional data algorithms so that execution can be accelerated by using parallelism on heterogeneous hardware. The C++ AMP programming model includes multidimensional arrays, indexing, memory transfer, tiling, and a mathematical function library. You can use C++ AMP language extensions to control how data is moved from the CPU to the GPU and back, so that you can improve performance.

## System Requirements
Expand Down