Skip to content

Conversation

Bensuo
Copy link
Contributor

@Bensuo Bensuo commented Apr 14, 2025

  • Using sycl_ext_codeplay_async_memory_alloc extension (PR currently in review)
  • Spec wording for graph support of the feature
  • Usage guide guidance for library authors
  • Usage guide examples of explicit and queue recording usage with and without mem pools

- Using sycl_ext_oneapi_async_memory_alloc extension
- Spec wording for graph support of the feature
- Usage guide guidance for library authors
- Usage guide examples of explicit and queue recording usage with and without mem pools
@Bensuo Bensuo force-pushed the ben/async-alloc-graphs-spec branch from d204eb0 to 960c904 Compare April 14, 2025 14:58
- Improve whole-graph update conditions list.
- Remove unnecessary non-normative note about returned pointers.
- Fix duplicate exception sections in finalize() definition.
kbenzie pushed a commit that referenced this pull request Apr 29, 2025
#18002)

- Allocations managed via new graph_mem_pool
- Device allocations use virtual memory
- Intercept async_alloc calls when adding nodes to graph
- New tests for functionality
- Update CommandGraph design docs 

Draft spec: #18001
Bensuo added 2 commits June 10, 2025 14:23
- Remove references to removed features from async alloc spec
- Improve links to async alloc spec
- Minor rewording of spec changes
- New usage guide example using in-order queue
Bensuo added 2 commits June 17, 2025 13:44
- Fix broken links to base spec
- Make get_required_mem_size noexcept
- Minor wording improvements
- Add end_recording to example snippets
@Bensuo Bensuo marked this pull request as ready for review June 17, 2025 15:39
@Bensuo Bensuo requested a review from a team as a code owner June 17, 2025 15:39
@Bensuo Bensuo requested a review from reble June 17, 2025 15:39
@Bensuo
Copy link
Contributor Author

Bensuo commented Jun 17, 2025

@gmlueck Not sure if you've done a detailed review of this already but it should be good to go now if you would like to take another look at it.

Bensuo added 2 commits June 24, 2025 16:46
- Change error code for host/shared allocation use
- Reword finalize to clarify multiple executable graphs
Copy link

@AerialMantis AerialMantis left a comment

Choose a reason for hiding this comment

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

Looks good!

@gmlueck
Copy link
Contributor

gmlueck commented Jul 2, 2025

I will be OOO for the rest of the week, so I approved. I think you understand my concern in the remaining comments, and I trust that you will address them.

- Clarify zero-initialization behavior
- Clarify error when recording subgraph with allocations
@Bensuo
Copy link
Contributor Author

Bensuo commented Jul 4, 2025

@intel/llvm-gatekeepers This should be good to merge now, thanks!

@uditagarwal97 uditagarwal97 merged commit badd00a into intel:sycl Jul 4, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants