summaryrefslogtreecommitdiffstats
path: root/parallel-libs
Commit message (Collapse)AuthorAgeFilesLines
...
* [StreamExecutor] Fix allocateDeviceMemoryJason Henline2016-08-242-2/+37
| | | | | | | | | | | | | | | | | | | Summary: The return value from PlatformExecutor::allocateDeviceMemory needs to be converted from Expected<GlobalDeviceMemoryBase> to Expected<GlobalDeviceMemory<T>> in Executor::allocateDeviceMemory. A similar bug is also fixed for Executor::allocateHostMemory. Thanks to jprice for identifying this bug. Reviewers: jprice, jlebar Subscribers: parallel_libs-commits Differential Revision: https://reviews.llvm.org/D23849 llvm-svn: 279658
* [StreamExecutor] Clean up device copy commentsJason Henline2016-08-244-159/+2361
| | | | | | | | | | | | | | | | | Summary: Consolidate Executor::synchronousCopy* and Stream::thenCopy* methods into Doxygen method groups and combine all their comments into one section. Also a "doc" target to the build files to use Doxygen to build the documentation. Reviewers: jlebar Subscribers: jprice, parallel_libs-commits Differential Revision: https://reviews.llvm.org/D23845 llvm-svn: 279654
* [StreamExecutor] Executor add synchronous methodsJason Henline2016-08-249-117/+1475
| | | | | | | | | | | | | | Summary: Add Executor methods that block the host until completion. Since these methods are host-synchronous, they don't require Stream arguments. Reviewers: jlebar Subscribers: jprice, parallel_libs-commits Differential Revision: https://reviews.llvm.org/D23577 llvm-svn: 279640
* [StreamExecutor] Rename StreamExecutor to ExecutorJason Henline2016-08-1611-83/+77
| | | | | | | | | | | | Summary: No functional changes just renaming this class for better readability. Reviewers: jlebar Subscribers: jprice, parallel_libs-commits Differential Revision: https://reviews.llvm.org/D23574 llvm-svn: 278833
* [StreamExecutor] Add basic Stream operationsJason Henline2016-08-1616-49/+732
| | | | | | | | | | | | Summary: Add the Stream class and a few of the operations it supports. Reviewers: jlebar, tra Subscribers: jprice, parallel_libs-commits Differential Revision: https://reviews.llvm.org/D23333 llvm-svn: 278829
* [StreamExecutor] Add DeviceMemory and kernel arg packingJason Henline2016-08-084-0/+668
| | | | | | | | | | | | | | 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
* [StreamExecutor] Add kernel typesJason Henline2016-08-059-1/+383
| | | | | | | | | | | | Summary: Add StreamExecutor kernel types. Reviewers: jlebar, tra Subscribers: parallel_libs-commits Differential Revision: https://reviews.llvm.org/D23138 llvm-svn: 277827
* [StreamExecutor] Add KernelLoaderSpecJason Henline2016-08-036-0/+508
| | | | | | | | | | | | | | | 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
* [StreamExecutor] Add error handling libraryJason Henline2016-07-295-1/+312
| | | | | | | | | | | | | | | | | | 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
* Add .clang-format to parallel-libsJason Henline2016-07-201-0/+2
| | | | | | | | | | | | | | | 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
* Use HTTPS for arcconfig conduit URLJason Henline2016-07-201-1/+1
| | | | llvm-svn: 276142
* Set up arcconfig for parallel-libs projectJason Henline2016-07-181-0/+4
| | | | llvm-svn: 275821
* Add streamexecutor directoryJason Henline2016-07-181-0/+1
| | | | llvm-svn: 275814
* Change mailing list names in READMEJason Henline2016-06-241-2/+2
| | | | | | | 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
* Create parallel-libs subproject in LLVMJason Henline2016-06-221-0/+90
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
OpenPOWER on IntegriCloud