I installed Visual Studio 2012 Update 2. I don't know if the "Update 2" introduced a memory leak, or if I hadn't noticed it before.
The code I use to test it is:
while (true) { extent<1> e(10); parallel_for_each(e, [=](index<1> idx) restrict(amp) { }); }
For every iteration, the memory consumed by the application increases around ~20kB.
Is this an actual memory leak? Is there any fix?