Skip to content

Commit 5f2bc78

Browse files
authored
Update using-cpp-amp-in-windows-store-apps.md
1 parent dc88250 commit 5f2bc78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/parallel/amp/using-cpp-amp-in-windows-store-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can use C++ AMP (C++ Accelerated Massive Parallelism) in your Universal Wind
1010

1111
## Performance considerations
1212

13-
If you're using Visual C++ component extensions C++/CX to create your Universal Windows Platform (UWP) app, we recommend that you use plain-old-data (POD) types together with contiguous storage—for example, `std::vector` or C-style arrays—for data that will be used with C++ AMP. This can help you achieve higher performance than by using non-POD types or Windows RT containers because no marshaling has to occur.
13+
If you're using Visual C++ component extensions C++/CX to create your Universal Windows Platform (UWP) app, we recommend that you use plain-old-data (POD) types together with contiguous storage—for example, `std::vector` or C-style arrays—for data that will be used with C++ AMP. This can help you achieve higher performance than by using non-POD types or Windows Runtime containers because no marshaling has to occur.
1414

1515
In a C++ AMP kernel, to access data that’s stored in this way, just wrap the `std::vector` or array storage in a `concurrency::array_view` and then use the array view in a `concurrency::parallel_for_each` loop:
1616

0 commit comments

Comments
 (0)