[StreamExecutor] Add error handling library
authorJason Henline <jhen@google.com>
Fri, 29 Jul 2016 20:45:52 +0000 (20:45 +0000)
committerJason Henline <jhen@google.com>
Fri, 29 Jul 2016 20:45:52 +0000 (20:45 +0000)
commit401219ae3f5ec1de673282c866353bbf233e879b
treeffde0f9059b27ee7f5a7b8f69b224924c8728c3b
parent6b3bd61283afdfb7ce6d645ef4ed233bc60322a1
[StreamExecutor] Add error handling library

Summary:
Error handling in StreamExecutor is based on llvm::Error and
llvm::Expected. This CL sets up the StreamExecutor wrapper classes in
the streamexecutor namespace.

All the other StreamExecutor code makes use of this error handling code,
so this is the first CL for checking in StreamExecutor.

Reviewers: jlebar, tra

Subscribers: parallel_libs-commits

Differential Revision: https://reviews.llvm.org/D22687

llvm-svn: 277210
parallel-libs/streamexecutor/CMakeLists.txt [new file with mode: 0644]
parallel-libs/streamexecutor/README.txt
parallel-libs/streamexecutor/include/streamexecutor/Utils/Error.h [new file with mode: 0644]
parallel-libs/streamexecutor/lib/CMakeLists.txt [new file with mode: 0644]
parallel-libs/streamexecutor/lib/Utils/Error.cpp [new file with mode: 0644]