Commit Graph

10 Commits

Author SHA1 Message Date
Jason Henline b071092756 [StreamExecutor] Add DeviceMemory and kernel arg packing
Summary:
Add types for device memory and add the code that knows how to pack these
device memory types if they are passed as arguments to kernel launches.

Reviewers: jlebar, tra

Subscribers: parallel_libs-commits

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

llvm-svn: 278021
2016-08-08 16:45:19 +00:00
Jason Henline 7b1fbead89 [StreamExecutor] Add kernel types
Summary: Add StreamExecutor kernel types.

Reviewers: jlebar, tra

Subscribers: parallel_libs-commits

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

llvm-svn: 277827
2016-08-05 16:05:44 +00:00
Jason Henline 8c04cbf882 [StreamExecutor] Add KernelLoaderSpec
Summary:
Add definitions for the KernelLoaderSpec and MultiKernelLoaderSpec
classes to StreamExecutor. Instances of these classes are generated by the
compiler in order to provide host code with a handle to device code.

Reviewers: jlebar, tra

Subscribers: parallel_libs-commits

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

llvm-svn: 277615
2016-08-03 18:04:13 +00:00
Jason Henline 401219ae3f [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
2016-07-29 20:45:52 +00:00
Jason Henline a12aa1fa9c Add .clang-format to parallel-libs
Summary:
The format style is set to LLVM. This is consistent with the
parallel-libs project charter which specifies that its libraries will
conform to LLVM coding style.

Reviewers: jlebar

Subscribers: parallel_libs-commits

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

llvm-svn: 276145
2016-07-20 17:49:55 +00:00
Jason Henline edc48e0ec5 Use HTTPS for arcconfig conduit URL
llvm-svn: 276142
2016-07-20 17:30:40 +00:00
Jason Henline 9d5c55e4f6 Set up arcconfig for parallel-libs project
llvm-svn: 275821
2016-07-18 17:26:26 +00:00
Jason Henline 301b1fa637 Add streamexecutor directory
llvm-svn: 275814
2016-07-18 16:44:25 +00:00
Jason Henline babc13a3e2 Change mailing list names in README
An underscore is used in the mailing list names rather than a dash, so it is
parallel_libs instead of parallel-libs.

llvm-svn: 273742
2016-06-24 22:50:09 +00:00
Jason Henline d5f947968b Create parallel-libs subproject in LLVM
This initial commit just sets up the basic directory structure and includes the
charter document as README.rst to describe the purpose of the project.

llvm-svn: 273452
2016-06-22 18:24:46 +00:00