cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Meteorhead
Challenger

compile APP SDK 2.8 samples

Hi!

First of all, big congrats to the new SDK, there is a lot of goodness in the we can't wait to hack down to it's core. There are few things I wanted to ask and clarify, and I think others might find answers useful too.

1) How can I compile C++AMP samples? All builds fail because ot failing to generate debug information for the parallel_for_each call. I have fiddled around with C++AMP before, and I know it's the question of the Debugger that is active (which has to be "GPU Only") but even that fails to build the samples. If I turn of "Generate Debug Symbols", it still fails. It's as if VS2012 wants to generate Debug info for everything, even when explicitly asking for no debug info.

1.5) I know that this is not the forum to discuss C++AMP, but there is no such room on devgurus. Might be time to open one.

2) The new cl.hpp is excellent work, took a look at the new sample program using it and it really eases OpenCL programming a lot. When I looked inside the header I was like O_O (, a brief moment of shock and silence... and the facepalm). I saw that the need for those few thousand lines is because of VS not conforming with variadic templates properly, but could we get an updated version once the v120 platform is released as an official VS update? Right now I'm using the Community Tech Preview version of it (v120 CTP November) and it seems to work perfectly, although I have not yet tried to give more than 10 variadic templates to anything. Do things really break from then on even in the v120CTP platform toolset?

2.5) The headers on the khronos web page still point to the aging 1.1 cl.hpp. Can we expect an update there too? Or are you too waiting for proper variadic support on Windows to push this update through to khronos?

3) Later on an infinitaley simple sample might prove useful to the community showing how to save and load the new common SPIR intermediates.

4) Simply can't wait for CodeXL to come as a VS2012 addin!

5) Once again, great job to all the devs!

0 Likes
2 Replies
binying
Challenger

"How can I compile C++AMP samples?"--With vs2012, it should be as easy as ctrl+alt+f7 and then ctr+f5. At least on my laptop with an intel cpu inside.

Can you run any simple AMP sample from somewhere else?

0 Likes

It seems that I can't. I have compiled AMP samples earlier from other places on my Win8 Enterprise Eval with VS 2012, but now I can't. My system is Windows Server 2012 with VS2012 plus VS (Nov) CTP platform patch installed. However, neither the CTP platform, nor the regular v110 platform can compile any AMP applications. Could the OS Win8 vs Server2012 matter so much?

0 Likes