MKL, BLAS, LPACK, cuBLAS, cuSPARSE Equivalents
So Intel has MKL for the CPU; nVidia has cuBLAS and cuSPARSE for CUDA; and there are various implementations of BLAS and LAPACK for the CPU as jumping off points for developing applications using...
View ArticleAMP crashes using completion_future for continuations with copy_async
I'm trying to maintain static buffers on the accelerator to avoid repeated mallocs, since my OpenCL code gives substantial performance improvements with it. So I have a setup where I have an...
View ArticleC++ AMP on WP8
Hi, Given there was an announcement of Windows Phone 8 which is built on top of the desktop Windows 8 kernel, supports directx and native code, does that mean that C++ AMP will work on WP8 also?
View ArticleHow to poll an std::future to see if it's result is available?
In the code snippet below I'm attempting to manually associate a promise set on one thread with a future checked on another. I then attempt to poll the future to see if it is ready but the loop never...
View ArticleC++ AMP: Microsoft Visual C++ 11 Redistributable Package?
We have a big solution with several C# projects in Visual Studio 2010 version, in which I want to integrate a C++ AMP and its C++/CLI wrapper as external DLL for the moment (we don't want to migrate...
View ArticleGot Concurrency::runtime_exception Please Help
Hi Smart People! Im trying to convert my C++ code to C++ AMP code. Here is the error i got, "The number of writable arrays/array_views referenced in the entry function of the parallel_for _each...
View ArticleHelp creating an application!
I am interning this summer, and I do not have extensive hand-on experience with c# programming. I need to build an application that can download text (in a table, or an excel sheet). I do not even...
View ArticleA way to reduce build time of AMP code?
I have two non-trivial projects implemented in AMP now and both take a really long time to compile. The first about 30 minutes, and the second started to take upto 3 hours (both use upto 1.8 GB of...
View Article[VC++][threads] How to make one thread idle and wait for other threads to run...
Hi, im only recently trying to use threads and VC++ in windows (been learning on linux(gcc) so far, on a beginner level), since i started digging in threads for windows here in the site, ive still only...
View ArticleCalling Patrallel_For_Each thread per Row Rather Than Row * Col using index...
HI In the below snap shot of code, I want each thread to be created per row rather than on each row*col. extent <2> e(u32ValidFrameCount, u32SamplesPerFrame); parallel_for_each( acc.default_view,...
View ArticleC++ AMP with AudioProcessingObjects(APO)
AudioProcessingObjects(APO) are COM objects implemented as Simple DLLs and inserted in to Microsft Auido stack. These APOs Process the audio Data. Can C++ AMP be used to process the above said Audio...
View Articlearray_view of rank 2 slow multithreaded access on CPU
I'm trying to run code on both via AMP and on multithreaded CPU for validation purposes and to provide comparison timing. Various low level functions are needed by both implementations so are marked...
View ArticleConcurrency task groups
I'm new to the Microsoft Concurrency Runtime (and asynchronous programming in general), and I'm trying to understand what can and can't be done with it. Is it possible to create a task group such that...
View Articleaccelerator::get_all returns vector with NULL
HI, I did some experiments with APO. I took the SwapAPO sample from WinDDK(C:\WinDDK\7600.16385.0\src\audio\sysfx) created a Visual studio 2012 DLL Project. Incorporated the CPP AMP chnages to it....
View Articlehow to implement a "steps" of for loop in C++AMP
Hi. I've succeeded to implement for loop in C++ AMP. But if the for loop has a steps more than 2. e.g. for(int i=5;i<100;i+=2) { (job) } in this case I implement like this for now,...
View ArticleWhat am I doing wrong? Memory leaks with Concurrency::samples::task_scheduler
I must be doing something wrong. I have a simple 32-bit Console app. I am running it on Windows 7 x64. I use Visual Studio 2010 SP1. The sample code pasted below leaks memory (according to Private...
View ArticleShaderResourceView vs Constant memory vs Texture - usage and performance
It appears from the blogs that there are three ways of passing constant data to the GPU, possibly exposed via different AMP interfaces: ShaderResourceView - via const array<T> or...
View ArticleSetThreadGroupAffinity returning invalid parameter the 2nd time it's used in...
Hi all, I'm trying to write some code for handling affinity that use the new functions supporting processor groups. I've got a system running x64 Win 2k8 R2 DataCenter with 48 logical processors. I ran...
View ArticleC++ AMP Random Number Generator
Hi Sir I want to use my RandomNumber() function in parallel_for_each() function. When I Build I get this error How do I resolve this problem error C3930: 'RandomNumber' : no overloaded function has...
View ArticleUse of task to prepare a XmlDocument from a file with WinRT library functions.
I was wondering if there is a better way to write a function that reads an XML file and turns it into a XmlDocument object, and then executes a user specified function on that XmlDocument. Not...
View Article