Skip to content

Conversation

@reble
Copy link
Owner

@reble reble commented Mar 21, 2023

Will rebase to sycl-graph-develop once #87 is merged.

Bensuo and others added 9 commits March 17, 2023 10:01
- Removes use of the CGF when submitting graph nodes.
- Handler info is extracted and copied into nodes
- Adding nodes in record and replay moved to finalize.
- Workarounds for reduction wg sizes added.
- Note reductions are broken by this commit due to missing accessor support
Introduce a test case which fails before this commit
and passes afterwards. Based on #49
* Comment where hardcoded defaults came from
* Use `static_cast` rather than c-style cast
* clang-format new test
Instead of USM arguments, it is buffer accessors that should be used for
edge detection. Fixes `graph-explicit-node-ordering.cpp` test ordering which is currently
creating incorrect extra edges

Also added a test for explicit API with accessor edges, we can use to see if this
logic works once accessors are better supported.

* Defined macro ``TEST_GRAPH_REDUCTIONS` for use in tests with reductions
  to enable that codepath, otherwise it is undefined.
Make test consistent with other tests by using asserts
rather than printing to std out.
@reble reble changed the base branch from ben/cgf-refactor to sycl-graph-develop March 21, 2023 21:40
@reble reble changed the base branch from sycl-graph-develop to ben/cgf-refactor March 21, 2023 21:41
@reble reble added the Graph Implementation Related to DPC++ implementation and testing label Mar 21, 2023
@reble reble requested review from Bensuo, EwanC and julianmi March 21, 2023 22:06
@reble reble marked this pull request as draft March 21, 2023 22:06
@reble reble changed the base branch from ben/cgf-refactor to sycl-graph-develop March 23, 2023 17:54
@reble
Copy link
Owner Author

reble commented Mar 27, 2023

Created new PR #112 because I messed up this one.

@reble reble closed this Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Graph Implementation Related to DPC++ implementation and testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants