C++ AMP Do or Die
This is a general follow up from this thread: http://social.msdn.microsoft.com/Forums/vstudio/en-US/89651c0a-4701-477d-96d0-92473ccfaa78/c-amp-64-bit-dll-exception?forum=parallelcppnative With floating...
View ArticleUsing tile_static memory makes code slower
I have a kernel that needs to calculate a value for each pixel depending on its neighbors. So, each thread does 9 global reads. I thought by using a tile_static cached copy of all the data needed for...
View ArticleIssues with Visual Studio Express 2010
I am having issues with Visual Studio Express 2010.Following the opening of a new project, during an attempt to debug my newly written sheet, I encounter an error message stating: "is not recognized......
View ArticleC++ AMP: When may a lambda falsely appear to execute correctly?
Hi! I wanted to ask the C++ AMP developers a general question prompted by the issue in thread "C++ AMP const array accelerator_view member and broken lambda result without exception". Can you please...
View ArticleC++ AMP const array and broken lambda result without exception
Hi! I have a rather horrible issue with my C++ AMP algorithms when processing a "large problem size" on some accelerators with only 1 GB memory. I have been able to isolate the problem in the following...
View Articlecompatible calls to RegGetValue and _atoi64
I have some Windows API C code built as a Win32 DLL for retrieving a large integer value as a string from the registry using RegGetValue and then turning it into an __int64 using _atoi64. I've...
View ArticleC++ AMP compilation error - IL is not available when compiling the call graph...
This problem occurs when a lambda or a functor, which calls an external function, is used as the second parameter of "Concurrency::parallel_for_each". That's quite confussing, since the compiler won't...
View Articlecan we set a semi transparency in a child form ?
when the ismdicontainer is set to false and i set the opacity of the forms to 50%, it works fine but when i set the ismdicontainer to true then set opacity to 50% and then i run it..nothing...
View ArticleC++ AMP driven by a C# console fails to load
Hi,I have a simple test case to query the AMP accelerators from a C# application. This does not work for me. Here is what I have:1) AmpInfoRetriever: Mixed managed and unmanaged code DLL that contains...
View ArticleLazy allocated array_view synchronization problem
I decided to use the new lazily allocated array_view in VS2013, but there seems to be a synchronization problem with derived views. My root view is linear to allow reshaping and other operations that...
View ArticleSetting the task result through a move constructor
Hi!I would like to set the result of a task_completion_event using move instead of copy. Is there a reason not to do so using ppltasks? #include <ppltasks.h> using namespace std; using namespace...
View ArticleHow do I test the time it takes to send a request to my graphics card and...
I'm trying to measure graphics card latency (time taken to send a trivial piece of data and send it back). To do this I've designed a test that sends an index to the graphics card and returns the nth...
View ArticleWhere is the race?
Hi guys!I am trying to encapsulate into tasks a C library that has a bunch of callbacks. The real code can't be pasted here, so I'll make a fake example. I would like to encapsulate the async request...
View Articlewill directx 12 have any implications for c++ amp?
will directx 12 have any implications for c++ amp?
View ArticleArray view as a container in vs2012
Hi guys! I am working with C++ AMP on VS 2012 and trying to create array_view without data source(passing just size). With VS 2013 we can make it with newly added constructor. Is there any solution /...
View ArticlePoor performance with C++ AMP Algorithms Library
Hello. I am experimenting with the C++ AMP Algorithms Library from https://ampalgorithms.codeplex.com/More specifically, I am trying to use the amp_stl_algorithms::remove_if function to remove...
View ArticleC++ AMP on Amazon EC2 GPU machines - no GPUs available
Amazon EC2 GPU machines support Windows Server 2008 R2. I have a machine running with the latest Windows updates installed, the latest NVidia driver installed (295.*) and the VS11 Beta plus April...
View ArticleSamples not working for my Windows 7 Intel HD Graphics 4000
I have tried the matrix multiplication and convolution samples. All the values come back zero from the accelerated code paths. Am I missing a driver or something?
View ArticleHow to parallel nested loop by OpenMP for large dimension
The following is a part of my C++ code and I want to parallel it by OpenMP. I use GCC in Ubuntu to compile the code. The most time consuming part of the code is this nested loop:e = 0;// m and n are...
View Article64-bit double to int conversion problem
I ran into a strange problem I cannot explain, although I am an experienced C++ programmer. The following code does not work properly when compiled with VC++ 64-bit:double dbl = 4294965732.000000;int n...
View Article