Commit 22ed7e1
authored
Python api (#10)
* adding pybind11 as an extern libary
* adding meson stuff for pybind11
* creating a PyRuntime wrapper class for pybind11
* naming the whole thing pyTaskR and minor code improvements
* adding first little example in 'simple'
* PyRuntime and Runtime working, now it is up to the Task class to be pybind11
* finally working, now, more tests and more methods
* updating the extern submodules and adding ABC example
* suspend works (if only one task, now it should work for multiple tasks)!
* added conditionVariable example (xxWaitCondition works atm)
* example energySaver and Fibonacci included. Fib(n>3) fails.
* created more examples
* adding some working examples
* minor correction on some examples
* all the current examples work if nosv is used
* fibonacci also with mutex.lock?
* redundant python path removed
* merging main
* fixing code style
* adding enumerate method for choosing backend
* adding a method to add your own cpp functions to be executed over pytaskr
* fixing style
* removing redundant code
* code documentation and binding more TaskR methods
* renamed a lot of files and minor corrections (all from the first review)
* old approach of adding a cpp function
* remaking the binding now. Now, the user has to create his own pybind1 parent c794e1e commit 22ed7e1
File tree
156 files changed
+2779
-229
lines changed- examples
- abcTasks
- cpp
- python
- cholesky
- ompss
- sequential
- source
- conditionVariable
- cpp
- python
- distributed
- pingPong
- energySaver
- cpp
- python
- fibonacci
- cpp
- python
- jacobi3d
- mpi
- source
- local
- abcTasks
- conditionVariable
- fibonacci
- manyParallel
- multiJob
- mutex
- pendingOperation
- simple
- workerSpecific
- manyParallel
- cpp
- python
- matmul
- python
- multiJob
- cpp
- python
- mutex
- cpp
- python
- pendingOperation
- cpp
- python
- resourceList
- cpp
- python
- simple
- cpp
- python
- suspend
- cpp
- python
- workerSpecific
- cpp
- python
- extern
- include/pytaskr
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
156 files changed
+2779
-229
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments