I wanted to perform maxPool with C++ AMP. However, whenever I execute the code I face unexpected runtime exception and program just gets terminated.
Here is part of t