Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

[SYCL][Graph] Unify tests where possible#275

Merged
reble merged 14 commits intosycl-graph-patch-4from
ben/unify-tests
Jul 26, 2023
Merged

[SYCL][Graph] Unify tests where possible#275
reble merged 14 commits intosycl-graph-patch-4from
ben/unify-tests

Conversation

@Bensuo
Copy link
Collaborator

@Bensuo Bensuo commented Jul 19, 2023

  • Unify tests where possible.
  • Test code moved to Inputs folder and actual lit tests define an API and include the input file
  • Added missing tests for some APIs which have a counterpart in the other and are not API specific
  • New common functions which are API agnostic for adding diamond dependency nodes
  • New API agnostic function for adding single nodes
  • API selected by defining GRAPH_E2E_<EXPLICIT/RECORD_REPLAY> before including test input

Some tests have been removed as being unnecessary due to testing almost identical functionality to other tests. I've also removed the reduction regression test test since reductions are pretty well covered in the E2E tests already and we're not testing anything special.

@Bensuo Bensuo added the Graph Implementation Related to DPC++ implementation and testing label Jul 19, 2023
@Bensuo Bensuo force-pushed the ben/unify-tests branch from 4b4812b to 5cc245a Compare July 19, 2023 14:59
Copy link
Owner

@reble reble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My first set of comments

Bensuo added 8 commits July 24, 2023 16:53
- Unify tests which use common header kernel functions that are mostly identical between APIs
- Test code moved to Inputs folder and actual lit tests define an API and include the input file
- Added missing tests for some APIs which have a counterpart in the other and are not API specific
- New common functions which are API agnostic for adding diamond dependency nodes
- New API agnostic function for adding single nodes
- API selected by defining GRAPH_E2E_<EXPLICIT/RECORD_REPLAY> before including test input
- Many dotp/usm tests removed and replaced with basic_* versions since they were almost identical
- Other tests unified
- Unify more tests
- Remove some unncessary tests
- Replace DEPENDS_ON macro with templated function
@Bensuo Bensuo force-pushed the ben/unify-tests branch from 8860d85 to 7778432 Compare July 24, 2023 16:03
@Bensuo Bensuo marked this pull request as ready for review July 24, 2023 16:03
@Bensuo Bensuo changed the title [SYCL][Graph] Unify tests which uses common header kernel functions [SYCL][Graph] Unify tests where possible Jul 24, 2023
Copy link
Owner

@reble reble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@reble reble merged commit bc8b994 into sycl-graph-patch-4 Jul 26, 2023
@Bensuo Bensuo deleted the ben/unify-tests branch August 7, 2023 16:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Graph Implementation Related to DPC++ implementation and testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants