AMP disables memory leak reporting? (VS 2013)
My application enables the CRT memleak detection by setting the auto-report flag in its main() routine:_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );Calling any C++ AMP function (even...
View Articleopenmp on visual studio express 2012
I've activated openmp in the c++ project (Properties->C/C++->Language->Open MP Support).I'm doing a porting of an existing project with parallelism code like the following:...
View ArticleAMP FFT Library: D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS
We are trying to use the AMP FFT library in our real-time measurement system. It's fast, however, after several minutes of loop, it throws an exception with result:...
View ArticleProper handling of C++ AMP classes holding internal concurrency::array...
I have a question regarding proper coding standard related to classes that needs to maintain an internal concurrency::array.I want to be able to send a class over to the GPU such that I can use it in...
View ArticleC++ AMP: How to release memory?
MainPage.xaml<Page x:Class="App1.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"><Button Content="Test"...
View ArticleC++ AMP profiling: timing results inconsistent
Hello,Using the C++ AMP book we have made a test program for MatrixMultiply, using the TimeFunc sample to measure timing.I notice that the timing results are not consistent. While executing one...
View ArticleWin32 API
Although this suggestions are very good, I need more. The information in those sites are not enough, they are not enough to even scratch to surface of a descent GUI application. So, if someone, please,...
View Articleadding wxWidgets libs
I started an application as a C++/.Net, now I would like to change that application to Win32?Thanks.
View ArticleFunction pointer template
Hi,I want to write a map of string and function pointer. So i did as below which is fine for me.typedef void (*FUNCTION)(void); typedef map<const char*,FUNCTION> function_map;But now my...
View ArticleTrailing return type issue when using restricted function
I am writing a library using C++AMP for the internals, and I have discovered the following does not work and I am curious as to why (as it works if I remove `restrict(amp)` from the functor):template...
View Articlewill directx 12 have any implications for c++ amp?
will directx 12 have any implications for c++ amp?
View ArticleComplex numbers in AMP
Is there an intent to support Complex numbers in AMP?Ideally std::complex would somehow be recognized in restrict(amp) code and operations performed on complex numbers would be mapped to HLSL...
View ArticleC++ AMP array_view access and Index syntax
I have been working for more than two years now with C++AMP, having stable productive code for many months now.Recently, maybe after VS2013update3, I have realized a drastic performance loss.Here is...
View ArticleAutomatic Guards
I have a following template that I want to implement. The template for automatic guarding when padding an extent for a tiling, is to make sure that access to global memory does not go out of bounds....
View ArticleTemplates with parallel_for_each and kernel
If I create an 'array' then it becomes an array only in GPU. And for that I have to pass a reference in the pfe.For example, below is an example before template creation and you can see that I am...
View ArticleUnderstanding Tiling
I am in the process of learning tiling in C++ AMP and I have read many exmaples but all involves 2D matrix examples.Honestly I don't quite fully understand tiling yet so I found this example online...
View ArticleFuture research direction on lock-free algorithms
Hello!I wanted to know what are the problems that are yet to be addressed in the area of lock free algorithms? or in lock free concurrent data structures?Thanx.
View Articlestd::condition_variable destructor crashes on VS2012
Hello,I have a namespace std::condition_variable object in a DLL, whose destructor crashes sometimes when the DLL is unloaded on process exit:// one of DLL's cpp files#include <list> #include...
View ArticleTwo Array_view pointing to same host memory
Hi Guys, I am creating two array_view pointing to same host memory and performing the some computation inside p_f_e. So the questioin is On Device(GPU) side while computation two different GPU memory...
View Articleusing concurrency array and random values
Hi, i had just started working on a c++ AMP project, i am trying to create a particle swarm optimization algorithmI first need to create large number of initial particles, but there are conditions for...
View Article