-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Host task implementation #1471
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
Merged
Merged
Changes from all commits
Commits
Show all changes
195 commits
Select commit
Hold shift + click to select a range
b31cb8e
[SYCL] Allow for creating host accessor without blocked event.
f3bf37a
[SYCL] Tests for host/interop task
faded84
[SYCL] Remove unused parameter
253086f
[SYCL] Some syntax improvements
cacb056
[SYCL] Sample impl of host task through event
37106ea
Merge branch 'sycl' into private/s-kanaev/interop-task
1a79e3f
[SYCL] Sample implementation without OpenCL specific calls.
9057a23
Merge branch 'sycl' into private/s-kanaev/interop-task
93cffcc
[SYCL] Only leave event-callback
3790b3a
[SYCL] Fix typo
4255434
Merge branch 'sycl' into private/s-kanaev/event-callback
dc0ab02
[SYCL] Allow for running lit-tests with threads.
0d95eaa
Merge branch 'sycl' into private/s-kanaev/event-callback
f0df349
[SYCL] A more sophisticated thread pool impl
ea577f6
[SYCL] Proper use of fork() in assertion test
99f64fb
[SYCL] Fix style issue
9c8b1a1
Merge branch 'sycl' into private/s-kanaev/event-callback
529d4dc
[SYCL] Fix some typos. Lazy initialization of thread pool.
4d04655
[SYCL] Employ event::when_complete instead of piEventSetCallback
1e3bfe4
[SYCL] Host-task test
fc70b03
[SYCL] Remove unwanted include
1429f9d
Merge branch 'sycl' into private/s-kanaev/event-callback
eaaefd3
[SYCL] Worked on host-task
1172ca1
Merge branch 'sycl' into private/s-kanaev/event-callback
9f3d2d4
[SYCL] Reimplement event::when_complete through host_task
92917a0
[SYCL] Worked on host task
578d422
Merge branch 'sycl' into private/s-kanaev/event-callback
8e3dcd8
[SYCL] Fix merge issue
2c2c713
Merge branch 'sycl' into private/s-kanaev/event-callback
14458e3
[SYCL] Fix assert test
a9ad4df
Merge branch 'sycl' into private/s-kanaev/event-callback
dde6af5
[SYCL] Event for host-task
e4c6764
[SYCL] Add test stub
eb71004
[SYCL] Distinct command for host task representation.
90cac7c
[SYCL] Depend device alloca cmd on cg's operating with linked host al…
1473f5d
[SYCL] Remove spare code. Wait for dependency events.
bfb0572
[SYCL] Remove spare code
9f68320
[SYCL] Fix code-style issue
442f905
[SYCL] Move handling of multiple contexts out of Command::prepareEven…
380b009
[SYCL] Output values in test
cee7e47
[SYCL] Add CHECK-sequence to test
b9003dc
[SYCL] Eliminate use of event callback during glue-ing of events from…
667729d
[SYCL] Fix some comments
072a850
[SYCL] Eliminate HostTaskCommand
c65759d
Merge branch 'sycl' into private/s-kanaev/event-callback
40f4a32
[SYCL] Fix codestyle issues
d7fe436
[SYCL] Fix runtime issue
89d6b44
[SYCL] Fix codestyle issue
08b31f5
Merge branch 'sycl' into private/s-kanaev/event-callback
9f97076
Merge branch 'sycl' into private/s-kanaev/event-callback
6537bb4
[SYCL] Fix typo in sycl/source/detail/queue_impl.hpp
s-kanaev 5388fd4
Merge branch 'sycl' into private/s-kanaev/event-callback
7ce22fe
[SYCL] Fix some review comments
a23c167
[SYCL] Fix indentation
fc10c6a
[SYCL] Remove unrelated change
e326ed0
[SYCL] Eliminate Command::prepareEvents()
d046775
[SYCL] Add empty command/node right after host-task
cf3bbf3
[NFC] [SYCL] Shift DispatchHostTask lambda to functor to reduce size …
35fdcde
[SYCL] Eliminate use of addCG when connecting multiple context.
427c81d
[SYCL] Fix indentation
1cc0885
Merge branch 'sycl' into private/s-kanaev/event-callback
9a936ee
[SYCL] Fix build issue
82296ec
Merge branch 'sycl' into private/s-kanaev/event-callback
a1c23d5
[SYCL] Add empty command for connecting command
8427b4a
[NFC] [SYCL] Split method into smaller ones
ff03307
[SYCL] Fix build issue
49ed81e
[SYCL] Remove unneeded line
d3a5cf9
[SYCL] Worked on fixing of race condition.
32f2f1b
[SYCL] Fix runtime issue. Remove debug outputs.
cb10eca
[SYCL] Remove '#if 1'
58246a7
[SYCL] Don't store context in CGHostTask. Remove commented code
96e4d4b
[SYCL] Fix some review comments.
30156f2
[SYCL] Remove unneeded code.
269319d
[NFC] [SYCL] Fix codestyle issues
212a484
[NFC] [SYCL] Remove unused code
881f5c9
Merge branch 'sycl' into private/s-kanaev/event-callback
07133a7
[NFC] [SYCL] Fix codestyle issues
8a6ee30
[NFC] [SYCL] Fix codestyle issue
ff5023c
[SYCL] Employ a hack to prevent invalid read in some cases
8a567ba
[SYCL] Enqueue dependant commands.
dd4ac89
[SYCL] Worked on fixing runtime issue
0724914
[SYCL] Modify test
2e3fbe1
[SYCL] Worked on fixing runtime issue
0465f2a
[SYCL] Fix test
c4ab0f1
[SYCL] Fix codestyle issue
741e257
[SYCL] Fix test
d00f031
[SYCL] Slight fix
2f2abf3
Merge branch 'sycl' into private/s-kanaev/event-callback
b4a2a47
[SYCL] Revert patch of test for assert
092d887
[NFC] [SYCL] Add description of new environment variable.
05a6558
[SYCL] Fix windows build.
b193031
[SYCL] Init buffer with proper data
a04c01f
[SYCL] Convert back to single MBlockedCmd in requirement
410654b
[SYCL] Address comments:
bad3845
[SYCL] Remove unused code
6ae8754
[SYCL] Throw 'out of host memory' exception upon failed allocation of…
67a98e0
[SYCL] Fix typo
b12d9ee
[SYCL] Don't store empty command in blocked cmds of requirement upon …
931128b
[SYCL] Fix runtime issue. Make code look cleaner.
72dbfa3
Merge branch 'sycl' into private/s-kanaev/event-callback
5ee3ba5
[SYCL] Fix style issue
14a47a2
[SYCL] Add comment
038495f
[SYCL] Eliminate explicit calls to setComplete() in users of EmptyCom…
083abeb
[SYCL] Enforce asserts in event_impl::setComplete()
c929d8b
[SYCL] Employ piEventSetStatus in event_impl::setComplete().
1674878
[SYCL] Address some review comments.
f41a605
[SYCL] Move some mthods from Command to Scheduler::GraphBuilder
857d433
[SYCL] Simpify DispatchHostTask::findUserEmptyCommand() method.
faf3fa1
[SYCL] Simplify loop
02c4cad
[SYCL] Remove unwanted changes from lit.cfg.py
5d15247
[SYCL] Remove unwanted change.
e366310
[SYCL] Resolve style issues
2b1335b
[SYCL] Rename HOST_TASK_CODEPLAY to CODEPLAY_HOST_TASK
d9ec78a
[SYCL] Fix build issue
0e38582
[SYCL] Move changes in addCG to distinct function.
1b62aed
[SYCL] Fix build issue
deb3e67
[SYCL] Remove unneeded comment
eaa8005
[SYCL] Fix runtime issue.
36dffd9
[SYCL] Remove unwanted changes
37917a7
[SYCL] Wait for host events in first place
eab005d
[SYCL] Employ common wait mechanism upon enqueueing command for waiting.
239afd8
Revert "[SYCL] Remove unwanted changes"
e73f49f
[SYCL] Stylistic issue
c96566d
[SYCL] Update state of event upon setting of context
68c6cc8
[SYCL] Fix race-condition
13fa22b
[SYCL] Fix sporadic segfault in scheduler
c77f7f9
[SYCL] Properly release resources in scheduler unit-test
9d3d186
Merge branch 'sycl' into private/s-kanaev/event-callback
78e032c
[SYCL] Fix style issue
4216af1
[SYCL] Fix build issue (merge glitch).
ece3bcb
[SYCL] Fix build issue (merge glitch).
565bd83
[SYCL] Fix build issue (merge glitch).
30321a1
[SYCL] Employ C++14 feature in thread pool.
14c9476
[SYCL] Fix ABI test
a17d607
[SYCL] Set pi trace level
7caf17b
[SYCL] Fix ABI test.
b6b924c
Revert "Revert "[SYCL] Remove unwanted changes""
a30c3a0
[SYCL] Remove redundant test
fc847dd
Merge branch 'sycl' into private/s-kanaev/event-callback
b3efd81
[SYCL] Fix style issue
17a9faf
[SYCL] Update test
2f6af3b
[SYCL] Runtime fixes
c309777
Revert "[SYCL] Remove unwanted changes"
aa4c679
[SYCL] Fix runtime issue for linked alloca deps
8b6b04e
Merge branch 'sycl' into private/s-kanaev/event-callback2
a4bc8f0
[SYCL] Fix merge glitch
462163e
Merge branch 'sycl' into private/s-kanaev/event-callback
4a8de92
[SYCL] Fix merge glitch
16ca481
[SYCL] Fix typo
294bd9d
[SYCL] A more proper way to unchaining deps of linked alloca's
c094e9a
[SYCL] Fix another race-condition.
06f3c5e
Merge branch 'sycl' into private/s-kanaev/event-callback
ba3d009
[SYCL] Address some review comments.
6052e85
[SYCL] Set proper target tripple in test
471fb78
[SYCL] Employ std::future properly in the test
ab49e2a
[SYCL] Store command in DispatchHostTask instead of a lot of fields.
e44ad31
[SYCL] Resolve style issue
b2aaee1
[SYCL] Employ addEmptyCmd whilst creating host accessor.
bc2a4df
[SYCL] Pass less arguments to GraphBuilder::connectDepEvent
68da219
[SYCL] Fix build issue
126cc32
[SYCL] Rewrite GraphBuilder::connectDepEvent in a clearer way.
45df093
[SYCL] Fix build issue
1542f8a
[SYCL] Add comment on work of GraphBuilder::connectDepEvent.
3d8b054
[SYCL] Uplift dev version
1cdc04f
[SYCL] Fix style issue
f900e6e
[SYCL] Removed reset
76da746
Revert "[SYCL] Removed reset"
168beb2
[SYCL] Address review comments.
14b9232
[SYCL] Address review comments.
e47a093
[SYCL] Address review comments.
2c28361
Merge branch 'sycl' into private/s-kanaev/event-callback
2aab6a1
[SYCL] Employ only read-lock while enqueueing recently added command.
053a4c3
[SYCL] Fix race-condition
89bd48b
[SYCL] Remove unneeded code.
5fa2789
[SYCL] Set proper reason for blocking of empty cmd
2dc3564
[SYCL] Make ConnectCmd depend on requirement
316e983
[SYCL] Don't depend on host task command explicitly.
b93675c
[SYCL] Fix deadlock.
52456ce
[SYCL] Add another test
40659d7
Merge branch 'sycl' into private/s-kanaev/event-callback
b8f47ce
[SYCL] Fix style issues
5b0d040
[SYCL] Fix style issue
f7c890e
[SYCL] Remove FileCheck use.
0480731
[SYCL] Fix segfault caused by missed dependency
066504e
[SYCL] Fix assertion triggering. Return reference to command group in…
9e76b68
[SYCL] Update test
6e123c4
[SYCL] Fix style issue
74282e0
[SYCL] Address comments.
90f73c4
Merge branch 'sycl' into private/s-kanaev/event-callback
b4ab2f2
[SYCL] Eliminate for-loop whilst constructing deps of connect-cmd
64d6ba8
[SYCL] Reword construction of a vector
692bf79
[SYCL] Reword comments
6f3b4d7
[SYCL] Eliminate const_cast
5d2635b
[SYCL] Fix style issues
efd1495
[SYCL] Fix style issues
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.