Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello everyone,

I'm a newcomer in C++ parallel computing (AMP). To get started i downloaded some examples of C++ code and tried to run them on my Visual Studio 2017 RC. The first example is called "convolution" and can be easly found on the web.

When i try to run it in debug mode this error shows up at this line:

230 accelerator default_device;

Exception thrown at 0x00007FF9876212C3 (vcamp140d.dll) in Convolution.exe: 0xC0000005:
Access violation reading location 0xFFFFFFFFFFFFFFFF. occurred
this->**_M_info_queue** was 0xFFFFFFFFFFFFFFFF. occurred


[Convolution.zip]

I didn't modified the code, I just ran it as it was downloaded.
I tried to fix it but it seems something that comes directly from vcamp140d.dll and at the moment I'm not able to solve it. Someone knows how to fix it or has the same problem?

What I have tried:

Follow what compiler suggests but I couldn't overcome the problem.
Looking for users that have been shown same problem on the web, but didn't find anything.
Tried to reinstall Visual studio in different versions.
Posted
Updated 31-Jan-17 2:58am
v2
Comments
CHill60 31-Jan-17 8:16am    
Why not ask at wherever you found the "convolution" example (and why not include the source in your question - you'll get better and quicker answers by not expecting us to start searching for stuff).
EDIT - I went to have a look but I am NOT going to try and guess which of the 150k "convolution" examples you actually used.
CHill60 31-Jan-17 8:28am    
Well the poster has not responded to the previous 2 comments. I would suggest finding an alternative example
_Andrea_R_ 31-Jan-17 8:39am    
Added direct link to the source code.

1 solution

You only run the "Release candidate". It may have some bugs.

Try to learn it with starting at an overview and some samples.

Maybe you are better of using some older VS like VS 2012...
 
Share this answer
 
Comments
Member 10342635 12-Mar-18 4:28am    
Its not depend from VS versions. I try in VS2013, VS2015 and VS2017. Problems with vcamp<version>d.dll not solved. This problem present when called constructor of array_view elements.
Sorry for my eng.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900