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

Are you using C++ AMP? We'd very much like to hear about it!

Hello ladies and gentlemen. I come to you cap in hand, with a gentle request: given that C++ AMP is no longer an infant, we (the team working on it) are curious about its uptake. To be more precise, we...

View Article


NVIDIA Tesla M2050 double precision

Dear SirI have Tesla M2050 on my computer and after going through some changes using Nvidia-smi.exe following the instructions (TCC off WDDM...

View Article


Could not deduce template argument for '_Ty'

I am not sure why this code produces the same error saying:Error    1    error C2783: 'std::shared_ptr<_Ty> std::make_shared(_Types &&...)' : could not deduce template argument for...

View Article

Can C++ AMP binaries be loaded straight to the GPU

Hi,I'm currently investigating whether C++ AMP can be used in a situation where I can quickly load pre-compiled kernel binaries to the GPU for execution?For example CUDA API can load CUDA binaries...

View Article

tgamma No overload candidate has correct restrict specifiers

Hi,I created a Windows Form Application with Visual Studio Express 2012 for Windows Desktop.It has created a namespace Projeto2 for the Form program with the following namespaces:using namespace...

View Article


C++ AMP function argument

Hello,  I am trying to call functions inside a for loop in main.  My AMP code works fine, but I am not really sure what is going on.  In the following code, am I copying data from host to GPU twice...

View Article

change dimension of the array on GPU

Hi, is there any way I can change the dimension of the existing array on the GPU?  Currently, I have following codearray_view<double,2> devA(num1,num2,hostA);         parallel_for_each(...........

View Article

Image may be NSFW.
Clik here to view.

Application Hangs after CSingleLock Lock()

I have attached the code showing the two threads. The thread just after the singlelock.Lock() is the main thread. I'm thinking a deadlock situation has occurred but don't know how. Any help is...

View Article


C++ AMP samples

I have been trying to run some of the C++AMP samples and have run into some capability problems.  When I try to run NBody in visual studio Community 2015 RC I get errors that I can decipher. When I run...

View Article


C++AMP cycles

for (int k = 0; k <= Nfi; k++) { for (int n = 0; n <= Nx; n++) { .....I need to apply the technology C++AMP for the first two cycles for,I do not understand how to do it. Nfi and Nx- int type.

View Article

AmnoJeeuw

In g++ #import "AmnoJeeuw.hpp" is synonymous with#include "AmnoJeeuw.hpp", is this the case with VSC++9?

View Article

casting from Parent to Child

I have an issue that goes like thisclass Parent : public std::exception{ private: //.... public: void Display(){std::cout << what() << std::endl;} }; class Child : public Parent{ void...

View Article

from wstring to LPWCSTR

This code buildsbool sound::play(const std::wstring soundfile ){ //converting BOOL to bool //After the double negation, the value is guaranteed to be 0 or 1; the original value might be any int value....

View Article


Any progress on C++ AMP vNext?

Well, Build has come and gone and didn't hear a peep out of the C++ AMP folks. Is AMP currently under active development?-LKeene

View Article

__cplusplus

Visual Studio 2013 compiler used to stop at this code, but after clicking on a popup windows by mistake the compiler did not stop anymore, what can I do to get it back to stop at that line?#if...

View Article


VS2015

Microsoft Visual Studio Community 2015 RC Version 14.0.22823.1 D14REL Microsoft .NET Framework Version 4.6.00057Installed Version: CommunityWindows 8.1When compiling with VS2013 I don't get an warning,...

View Article

PPL and fire-and-forget (or fire-and-remember)

HiI have a realtime program with a main loop. I have some rare and slow (void) functions I have to call. They happen on say about every 10th cycle and take 10x the time of one iteration of the main...

View Article


OpenMP does not work on release mode

I have coded a professional model using c++ dll, which uses OpenMP to parallel. When this dll was connected to another exe in Debug mode, the parallel parts speed up. But in Release model (the same...

View Article

Website creation *PLEASE HELP*

I was wondering where i would go to MAKE my very own website. From literally scratch. As if it were to be about:blank as the start. Something like that.I don't want to use any of the WordPress.com nor...

View Article

PPL in VS2015 : is_task_cancellation_requsted not available

Does the function cancellation::is_task_cancellation_requested exists in VS2015? Is is referenced in the Cancellation in the PPL page, although it doesn't seem to be part of the concurrency namespace...

View Article
Browsing all 856 articles
Browse latest View live


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