-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ttg device support master coro - util/device.h #5
base: ttg-device-support-master-coro
Are you sure you want to change the base?
Ttg device support master coro - util/device.h #5
Commits on Oct 14, 2022
-
Mock of ttg::make_device_tt and views
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5c5ba7 - Browse repository at this point
Copy the full SHA a5c5ba7View commit details -
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dad4a6c - Browse repository at this point
Copy the full SHA dad4a6cView commit details
Commits on Oct 20, 2022
-
Add device_mock example to compile the ttg device mock API
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 977048d - Browse repository at this point
Copy the full SHA 977048dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b86f1b0 - Browse repository at this point
Copy the full SHA b86f1b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 834f5f2 - Browse repository at this point
Copy the full SHA 834f5f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb9b74f - Browse repository at this point
Copy the full SHA cb9b74fView commit details -
Partial implementation of ttg::make_device_tt
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 775a5db - Browse repository at this point
Copy the full SHA 775a5dbView commit details
Commits on Oct 25, 2022
-
Merge branch 'master' into ttg-device-support-master
# Conflicts: # examples/CMakeLists.txt
Configuration menu - View commit details
-
Copy full SHA for 7d9ed91 - Browse repository at this point
Copy the full SHA 7d9ed91View commit details -
fixup span.h for when using c++20
(cherry picked from commit 8147ac0)
Configuration menu - View commit details
-
Copy full SHA for aa77974 - Browse repository at this point
Copy the full SHA aa77974View commit details
Commits on Oct 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a24eadc - Browse repository at this point
Copy the full SHA a24eadcView commit details -
Encapsulate callables passed to make_device_tt mock in a regular task
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e49bd2 - Browse repository at this point
Copy the full SHA 5e49bd2View commit details -
Use the new multiindex key type in device mock example
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for efaa252 - Browse repository at this point
Copy the full SHA efaa252View commit details -
The views on the device will be handled by the backend, not in ttg::make_view Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed01b32 - Browse repository at this point
Copy the full SHA ed01b32View commit details -
Provide a scope for views and replace ttg::span with ttg::ViewSpan
[ttg|std]::span is not a good fit because it carries a size template argument that we don't care about but makes handling more difficult. Plus, we need to encode the scope for each span. Three scopes are available: 1) SyncIn: copy host data to device before invoking the kernel callable. 2) SyncOut: copy the device data back to the host before invoking the output callable. 3) Allocate: allocate but do not synchronize in or out. Both SyncIn and SyncOut will allocate sufficient memory on the device. Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 097d653 - Browse repository at this point
Copy the full SHA 097d653View commit details -
Add missing view include in madness backend
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a6251b - Browse repository at this point
Copy the full SHA 9a6251bView commit details -
Rename CUDA precompile guards:
- TTG_HAVE_CUDA enables CUDA support: synchronizing the stream between the kernel call and the output call. - TTG_USE_CUDA_PREFETCH enables support for prefetching based on the view scope. Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 339f296 - Browse repository at this point
Copy the full SHA 339f296View commit details -
Remove noexcept from from default View ctor
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2100f17 - Browse repository at this point
Copy the full SHA 2100f17View commit details -
Add missing terminal name in mock device example
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e6b6ff - Browse repository at this point
Copy the full SHA 8e6b6ffView commit details
Commits on Oct 27, 2022
-
Add a fence to the mock device test to make the termdet happy
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d19b20 - Browse repository at this point
Copy the full SHA 8d19b20View commit details -
Add iovec.h to list of installed files.
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0fac7e5 - Browse repository at this point
Copy the full SHA 0fac7e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 293fe68 - Browse repository at this point
Copy the full SHA 293fe68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fda791 - Browse repository at this point
Copy the full SHA 1fda791View commit details
Commits on Oct 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 781c5f5 - Browse repository at this point
Copy the full SHA 781c5f5View commit details -
avoid infinite recursion in ttg::{set_size,finalize}<i> that do not t…
…ake outterm as an argument
Configuration menu - View commit details
-
Copy full SHA for 0b1f136 - Browse repository at this point
Copy the full SHA 0b1f136View commit details
Commits on Oct 31, 2022
-
ttg_parsec::TT::static_op{,_noarg} return parsec_hook_return_t in pre…
…paration for suspendable tasks
Configuration menu - View commit details
-
Copy full SHA for 75a2fce - Browse repository at this point
Copy the full SHA 75a2fceView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca4ab38 - Browse repository at this point
Copy the full SHA ca4ab38View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5ae409 - Browse repository at this point
Copy the full SHA a5ae409View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0da8a01 - Browse repository at this point
Copy the full SHA 0da8a01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35277bc - Browse repository at this point
Copy the full SHA 35277bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f6f581 - Browse repository at this point
Copy the full SHA 9f6f581View commit details -
Configuration menu - View commit details
-
Copy full SHA for 199ef88 - Browse repository at this point
Copy the full SHA 199ef88View commit details -
bump BTAS tag to support gcc 10 with -std=c++20, it seemingly provide…
…s __cplusplus < 202002L
Configuration menu - View commit details
-
Copy full SHA for acdde42 - Browse repository at this point
Copy the full SHA acdde42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83839fe - Browse repository at this point
Copy the full SHA 83839feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2084d4a - Browse repository at this point
Copy the full SHA 2084d4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f9ef86 - Browse repository at this point
Copy the full SHA 4f9ef86View commit details
Commits on Nov 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 35c333a - Browse repository at this point
Copy the full SHA 35c333aView commit details -
moar resumable_task ... final_suspend always suspends to avoid coros …
…that never suspend
Configuration menu - View commit details
-
Copy full SHA for ebfe2be - Browse repository at this point
Copy the full SHA ebfe2beView commit details
Commits on Nov 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0f67a99 - Browse repository at this point
Copy the full SHA 0f67a99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f8c6a7 - Browse repository at this point
Copy the full SHA 3f8c6a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2331f57 - Browse repository at this point
Copy the full SHA 2331f57View commit details -
return type propagated further up the call stack to allow proper supp…
…ort for coroutines also plan to support functions that do `return std::pair(key,value);` or `return value` (no key) or `return std::tuple{key};` instead of send
Configuration menu - View commit details
-
Copy full SHA for 5ea00ac - Browse repository at this point
Copy the full SHA 5ea00acView commit details -
ttg_parsec::TT::static_op now receives nonnull ptr to the coroutine s…
…tate, if it suspended, ready to implement logic for dealing with suspended coroutines
Configuration menu - View commit details
-
Copy full SHA for cc2971d - Browse repository at this point
Copy the full SHA cc2971dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e39e25d - Browse repository at this point
Copy the full SHA e39e25dView commit details
Commits on Nov 3, 2022
-
parsec reruns suspended tasks successfully
the only missing piece now is event monitoring and resubmission by the worker threads
Configuration menu - View commit details
-
Copy full SHA for 33b7d67 - Browse repository at this point
Copy the full SHA 33b7d67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ac6d02 - Browse repository at this point
Copy the full SHA 6ac6d02View commit details
Commits on Nov 4, 2022
-
cleanup + annotation of of the coroutine classes + cleanup of the PaR…
…SEC implementation - introduced ttg::coroutine_handle<> = TTG_CXX_COROUTINE_NAMESPACE::coroutine_handle<resumable_task_state> - tested custom new/delete for coroutines, works but commented out; added notes sketching out the interaction with the runtime that will allow heap-free operation - parsec impl is back to optimal for ordinary function ops; coroutine-based TT::op() returns coroutine_handle instead of ptr to resumable_task_state
Configuration menu - View commit details
-
Copy full SHA for 84205cd - Browse repository at this point
Copy the full SHA 84205cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41c79df - Browse repository at this point
Copy the full SHA 41c79dfView commit details -
adapted madness backend to do same (incomplete) handling of coroutine…
…s as in parsec. enough for proof of concept. - fibonacci-coro is the only working example, with dummy events that get cleared manually, etc. ...
Configuration menu - View commit details
-
Copy full SHA for ac475f3 - Browse repository at this point
Copy the full SHA ac475f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6a1a0a - Browse repository at this point
Copy the full SHA e6a1a0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3769bf - Browse repository at this point
Copy the full SHA d3769bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9a1a55 - Browse repository at this point
Copy the full SHA a9a1a55View commit details
Commits on Nov 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 482ee2f - Browse repository at this point
Copy the full SHA 482ee2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 583a912 - Browse repository at this point
Copy the full SHA 583a912View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c9c029 - Browse repository at this point
Copy the full SHA 3c9c029View commit details -
Configuration menu - View commit details
-
Copy full SHA for df75b3e - Browse repository at this point
Copy the full SHA df75b3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a027fe - Browse repository at this point
Copy the full SHA 0a027feView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdcb6f8 - Browse repository at this point
Copy the full SHA bdcb6f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f68385 - Browse repository at this point
Copy the full SHA 2f68385View commit details -
[cmake] when checking for std coroutine header try without and with -…
…std flags to try to enable c++20
Configuration menu - View commit details
-
Copy full SHA for 458132e - Browse repository at this point
Copy the full SHA 458132eView commit details
Commits on Nov 9, 2022
-
[cmake] when compiling std coroutine example try without and with -st…
…d flags to try to enable c++20
Configuration menu - View commit details
-
Copy full SHA for 7a3fba8 - Browse repository at this point
Copy the full SHA 7a3fba8View commit details -
[cmake] do not do separate header and compile checks for coroutine do…
…es not work (headers may be present but not usable, etc.)
Configuration menu - View commit details
-
Copy full SHA for 82b9a0f - Browse repository at this point
Copy the full SHA 82b9a0fView commit details
Commits on Nov 10, 2022
-
Merge pull request #4 from TESSEorg/ttg-device-support-coro
proof-of-concept support for coroutines
Configuration menu - View commit details
-
Copy full SHA for f6d80e8 - Browse repository at this point
Copy the full SHA f6d80e8View commit details
Commits on Nov 12, 2022
-
[cmake] bump PaRSEC tag to pull in TESSEorg/parsec#18 so that Debug C…
…I jobs pass (fingers crossed)
Configuration menu - View commit details
-
Copy full SHA for c2b590b - Browse repository at this point
Copy the full SHA c2b590bView commit details
Commits on Jan 10, 2023
-
Remove device_mock from test executables
It's using the old interface that will eventually be removed again... Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e835805 - Browse repository at this point
Copy the full SHA e835805View commit details
Commits on Jan 24, 2023
-
Initial implementation of coroutine-based device support with PaRSEC
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb1ad14 - Browse repository at this point
Copy the full SHA cb1ad14View commit details
Commits on Jan 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0897f9c - Browse repository at this point
Copy the full SHA 0897f9cView commit details -
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 945595e - Browse repository at this point
Copy the full SHA 945595eView commit details -
Switch to a Thomas' branch that is close to PaRSEC master
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7dfe4ea - Browse repository at this point
Copy the full SHA 7dfe4eaView commit details
Commits on Jan 26, 2023
-
Revert "Switch to a Thomas' branch that is close to PaRSEC master"
This reverts commit 7dfe4ea.
Configuration menu - View commit details
-
Copy full SHA for c203dac - Browse repository at this point
Copy the full SHA c203dacView commit details
Commits on Jan 27, 2023
-
Some more device coroutine examples
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 987e98c - Browse repository at this point
Copy the full SHA 987e98cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3544fb - Browse repository at this point
Copy the full SHA f3544fbView commit details -
Update to appropriate version of parsec; use arrays of chars to store…
… the key in the profiling info under the parsec driver
Configuration menu - View commit details
-
Copy full SHA for 7ab4a1e - Browse repository at this point
Copy the full SHA 7ab4a1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce71227 - Browse repository at this point
Copy the full SHA ce71227View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cf5388 - Browse repository at this point
Copy the full SHA 5cf5388View commit details -
Porting over PaRSEC master: addto_nb_pa has been renamed and tasks de…
…fine a core mask, not a core id
Configuration menu - View commit details
-
Copy full SHA for 58603aa - Browse repository at this point
Copy the full SHA 58603aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7388f4 - Browse repository at this point
Copy the full SHA a7388f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6292ab5 - Browse repository at this point
Copy the full SHA 6292ab5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eaa97d - Browse repository at this point
Copy the full SHA 6eaa97dView commit details -
Use Thomas's github for the patched parsec branch
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce07798 - Browse repository at this point
Copy the full SHA ce07798View commit details -
Make device coro tasks actually compile
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62c1113 - Browse repository at this point
Copy the full SHA 62c1113View commit details
Commits on Feb 1, 2023
-
Many fixes to coro-based device tasks
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 45183ce - Browse repository at this point
Copy the full SHA 45183ceView commit details
Commits on Feb 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a51b130 - Browse repository at this point
Copy the full SHA a51b130View commit details -
Clean up code from ttg::meta::is_detected debugging
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d3d975 - Browse repository at this point
Copy the full SHA 9d3d975View commit details
Commits on Feb 27, 2023
-
Implement ttg::buffer and ttg::devicescratch in the PaRSEC backend
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 522967a - Browse repository at this point
Copy the full SHA 522967aView commit details
Commits on Mar 3, 2023
-
Support for moving between device and host tasks, much more
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98a7a89 - Browse repository at this point
Copy the full SHA 98a7a89View commit details -
get_ptr is not an awaitable operation
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e07ebe5 - Browse repository at this point
Copy the full SHA e07ebe5View commit details
Commits on Mar 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2a0e47f - Browse repository at this point
Copy the full SHA 2a0e47fView commit details -
Fix msg header ctor and non-device tasks
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de259c2 - Browse repository at this point
Copy the full SHA de259c2View commit details
Commits on Mar 15, 2023
-
Expose a backend allocator for the devices
Refactor allocator API to be more object-oriented
Configuration menu - View commit details
-
Copy full SHA for 7a08f07 - Browse repository at this point
Copy the full SHA 7a08f07View commit details -
Draft for sending out of a device task
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63b889c - Browse repository at this point
Copy the full SHA 63b889cView commit details -
Expose a backend allocator for the devices
Refactor allocator API to be more object-oriented
Configuration menu - View commit details
-
Copy full SHA for 1bb638f - Browse repository at this point
Copy the full SHA 1bb638fView commit details
Commits on Mar 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 035406e - Browse repository at this point
Copy the full SHA 035406eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab8184f - Browse repository at this point
Copy the full SHA ab8184fView commit details