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

agents: message block send to all targets?

From what I've understood the existing message blocks (e.g unbounded_buffer) always propagate messages to the first target that accepts it. Is there a good way to "broadcast" messages to all targets?...

View Article


CPU fallback on C++ AMP?

Hello all, I'm looking into using AMP with my .NET class library (P/invoke). Am I correct in my assumption that if something should go wrong with a GPU kernel launch, the AMP method will fall back to...

View Article


Image may be NSFW.
Clik here to view.

Indexing into different sized arrays in AMP parallel_for_each

I have been attempting write a convolution kernel in AMP to process the depth data from a Kinect and I've been experiencing some problems.  I want to make the results form the kernel simply become...

View Article

array_view back to old value when using p-f-e

Hi . I have hit the wall again..please help. please look at following code. float data[1]; array_view<float,1> dm(1,data); data[0]=2;//dm[0]=2 at this point 100% sure about it....

View Article

Register spilling with C++ AMP and GPUs

Hi, I ported a complicated hydrological model into OpenCL with good results. However, there was some register spillage due to the size of the model and the inability to break it up easily.  C++ AMP has...

View Article


C++ AMP, custom CPU fallback - PPL?

Hi all, Newbie to C++-AMP here... I am currently working on a largish bunch of OpenCL prototype code that should go into product in 6-10 months. The code is executed on GPU or CPU depending on customer...

View Article

Where do I submit feature requests?

Where do I submit feature requests? I have some feature request (and will probably have more) and would like to know where is the best place to put those? e.g. staging texturecopy with pitch overload...

View Article

When would I wait for a texture/array upload?

In the context of the following method: concurrency::completion_future copy_async(const void * _Src, unsigned int _Src_byte_size, texture<_Value_type, _Rank>& _Dst) What does it mean to wait...

View Article


Copy between textures always goes through host?

Looking at the implementation for graphics::texture I notice that the copy is always performed by downloading src data to the host and then uploading to dst on the device. This seems rather...

View Article


What is the accuracy of short vector types?

What is the accuracy of short vector types? e.g. unorm4, is that 8 bit per scalar element or 32 bit during calculations?

View Article

Convert from float to unorm without clamping?

I'm using fast_math::floor on a value that I know will be in the range of [0.0,1.0] and want to convert it to unorm. Can I do that without wasting computation on clamping?

View Article

Deadlock

I'm experiencing a deadlock when running the following code in debug mode (works fine in release mode). concurrency::graphics::unorm quantize(concurrency::graphics::unorm value, float range)...

View Article

C++ AMP, general 1D custom CPU fallback to PPL

Hi all, (moving specific question from originating discussion "C++ AMP, custom CPU fallback - PPL?") Is it possible to use PPL (for executing lambdas) together with cpu_accelerator (for memory...

View Article


Microsoft Visual C++ 2005 Express Edition

I have a problem Registering Microsoft Visual C++ 2005 Express Edition, please send me a link to register, cause the link in Dialogue Box of Registering Visual C++ is'nt working!

View Article

How to show the special one of XPS Documents?

I want show one of the xps document depend on index.I want do it in following way    ....... String ^strFileName = gcnew String(lpFileName); XpsDocument ^xpsDoc = gcnew XpsDocument(strFileName,...

View Article


How to watch reference variables using CUDA Parallel NSight debugger in...

I can properly watch any variable or pointer but cannot do it for reference variables when debugging with NSight. I have already tried to convert the reference to pointer in the watch or immediate...

View Article

Queue up work to be done in io callbacks on the same thread

hi. i use winhttp i need  for a given conection to queue up work to be done on the same threadpool thread so i dont have issue in synchronizing callbacks called for the same connection. how would you...

View Article


Store array in graphics memory for later use

I am working on a matching algorithm that searches through 10000 of vectors for the closest match. Each vector consists of 100 floats. Can I somehow store the vectors in the graphics memory at the...

View Article

C++ AMP Double precision capable cards

Is there any currently available card that has full double precision capability? I tested on a GT 650M and HD 4000 and both claim support for "limited double precision" with addition, multiplication...

View Article

Can I create a c++/clr test function to test OpenCL functions base on AMD GPU...

I am currently using VS2010 to create some kernels base on AMD GPU But when I create a c++/clr test project to do the unit test there is an error which is 'the agent process was stopped while the test...

View Article
Browsing all 856 articles
Browse latest View live


Latest Images