Quantcast
Channel: Parallel Computing in C++ and Native Code forum
Browsing all 856 articles
Browse latest View live

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 Article


openmp 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 Article


AMP 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 Article

Proper 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 Article

Image may be NSFW.
Clik here to view.

C++ 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 Article


C++ 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 Article

Win32 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 Article

adding wxWidgets libs

I started an application as a C++/.Net, now I would like to change that application to Win32?Thanks.

View Article


Function 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 Article


Trailing 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 Article

will directx 12 have any implications for c++ amp?

will directx 12 have any implications for c++ amp?

View Article

Complex 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 Article

C++ 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 Article


Automatic 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 Article

Templates 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 Article


Understanding 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 Article

Future 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 Article


std::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 Article

Two 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 Article

using 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
Browsing all 856 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>