Daniel Moth
Entries
Cartoonizer - C++ AMP sample
NBody - C++ AMP sample
Morph - C++ AMP sample
GPU debugging in Visual Studio 2012
Matrix Multiplication with C++ AMP
C++ AMP core API introduction... from scratch
Tiling Introduction - C++ AMP - msdn mag companion
accelerator - C++ AMP - msdn mag companion part 4
parallel_for_each - C++ AMP - msdn mag companion part 3
array_view, extent, index - C++ AMP - msdn mag companion part 2
Setup code - C++ AMP - msdn mag companion part 1
Comments
-
-
-
-
-
-
-
-
-
-
-
-
View AllVisual Studio Emulator for Android
Yes as per the blog post the emulator is x86 images, 4.4 only at the moment, and requires VS2015 to install and launch (after which you can connect with it from any IDE).
Merlin, the emulator is programming model agnostic - it is just another ADB target. I think you are asking a generic Visual Studio question about targeting Android and the answer, as per the blog post, is C++, Cordova, and C# through Xamarin (there are videos for those on channel9 that you can watch and follow up). If you cannot use those programming models, then use your favorite IDE and connect to the emulator from that (once you've launched it from VS2015).
Visual Studio Emulator for Android
Hey folks, all your questions can be answered by reading this comprehensive blog post, and there is also a link to a survey from that for your feature requests:
https://blogs.msdn.com/b/visualstudioalm/archive/2014/11/12/introducing-visual-studio-s-emulator-for-android.aspx
After reading the blog post, please let me know if your question is still outstanding and then I will answer it here, and also add it to the blog for others – thank you!
Matrix Multiplication with C++ AMP
@martin w: Thanks, glad you enjoyed it!
The answer to your question is in this blog post and the links it points to: https://blogs.msdn.com/b/nativeconcurrency/archive/2012/02/26/divisibility-requirement-of-tiled-extent-in-c-amp.aspx
If you still have questions after reading those, please post to our forum: https://social.msdn.microsoft.com/Forums/en-US/parallelcppnative/threads
Morph - C++ AMP sample
Hi Sam, sounds like you are new to C++ AMP - welcome!
CUDA, OpenCL, and C++ AMP all have comparable performance, so your opening statement is not quite true, sorry. The advantage of the latter two is that the they support executing on hardware from multiple vendors. The further advantage of C++ AMP is that it is a more productive environment to code in.
Please watch the other videos in this series (e.g. start with this and that) and if you still have questions we welcome them in the forum, as per the link above. If you are familiar with the other approaches we also have learning guides for OpenCL and for CUDA to get you started.
Matrix Multiplication with C++ AMP
@Spetum: @Aiboy: Thanks, glad you enjoyed it.
@Elad:Thanks, glad you found it interesting. Yes I leave the time measurement to you so you can explore the benefits on your specific hardware
C++ AMP core API introduction... from scratch
@John: Me too!
C++ AMP core API introduction... from scratch
@Pavone: Cool, that is the purpose of these screecnasts: to kick start your learning. When you are ready, please follow the links above for more in depth information and I look forward to what you'll build.
C++ AMP core API introduction... from scratch
@banjomatic: Thanks for the feedback. On the screencasts front, our current plan is to get you started with the base API concepts and a straightforward/minimal example. So we have this intro video, and a similar 4-part introduction (part 1, part2, part3, part 4). Building on that intro to the core API, there is an intro to the tiled model (more API coverage). Looks like you read my mind
, and next I will be publishing a matrix multiplication walkthrough screencast, and I have a couple others in the plans. Stay tuned here on the channel9 C++ AMP feed.
Our feeling is that once you have watched all those, you should be perfectly comfortable to download and explore the more involved samples on your own (without a video/screencast accompaniment) – please pick your favorite from the C++ AMP samples list. BTW, every sample has a dedicated blog post describing it, so if you have questions around understanding a specific sample, please leave a comment on the specific blog post for the sample, or ask in the C++ AMP support forum. Thanks for watching!
Tiling Introduction - C++ AMP - msdn mag companion
@johnathon: LOL.... "this guy" also wants that fast coding ability, without having to rely on the ffw editing feature
Setup code - C++ AMP - msdn mag companion part 1
@Chris: done, thanks for the feedback.
parallel_for_each - C++ AMP - msdn mag companion part 3
@AliKouhzadi: Glad you like it!
An even simpler example of showing how productive you can be with C++ AMP is our "Hello World" example. We also have learning guides for those familiar with other programming models, please get them here: CUDA, OpenCL, DirectCompute.
The performance is comparable between all these approaches, and in our tests is not a factor for choosing one over the other, even now that the product is in Beta and we are still tuning the bits. Once we RTM, we invite anyone to measure the performance difference between C++ AMP and any other approach and share their workloads and results on a variety of hardware for comparison.
C++ AMP: Daniel Moth - Overview
@Granville Barnett: Yes, when I said "yes we think so" it was in response to Charles' comment/question which included the words "modern" and "true" C++ API, so any response to that will be subjective given the vagueness of those terms in this context. So while I may believe that C++ AMP is the first truly modern C++ API for heterogeneous computing and that it is "better" than similar approaches (I am slightly biased
), so please evaluate alternative approaches and judge for yourself. Thanks for bringing this up.