[Parallel_libs-commits] [PATCH] D24107: [StreamExecutor] getOrDie and dieIfError utils

Jason Henline via Parallel_libs-commits parallel_libs-commits at lists.llvm.org
Wed Aug 31 16:59:33 PDT 2016


jhen added a comment.

Thanks for the report, jprice. What you described is not expected behavior. You're right that the error should not be "unhandled".

So far, however, I can't reproduce that behavior. I think the example program you gave should fail in the same way as the `example/example` executable that is checked into StreamExecutor now. They both die because there is no platform registered for the required name, and they are both wrapped in `getOrDie`.

When you run the example executable, do you see the same behavior, because I only see the first line:

  Error extracting an expected value: no available platform with name CUDA.

and no other error message.

If you are seeing the same problem with the example, I think there may be some difference in the versions of the LLVM support libraries we are using. Do you have a revision number for the LLVM you are using?

Thanks again for your help.


Repository:
  rL LLVM

https://reviews.llvm.org/D24107





More information about the Parallel_libs-commits mailing list