Answered CPU fallback on C++ AMP?

  • Wednesday, July 18, 2012 2:04 PM
     
     

    Hello all,

    I'm looking into using AMP with my .NET class library (P/invoke). Am I correct in my assumption that if something should go wrong with a GPU kernel launch, the AMP method will fall back to the CPU? If so, is there a way to restrict the execution of the AMP kernel only to the GPU and, if at runtime it can't, to fall back to the C# code in my class library? Thanks!

    -L

All Replies