Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
47863fa
Add sycl_khr_free_function_commands extension
Pennycook Oct 17, 2024
ebe4dc0
Merge branch 'main' into khr_free_function_commands
Pennycook Dec 2, 2024
ce08652
Reword khr_free_function_commands comment
Pennycook Dec 5, 2024
372bb3b
Add periods to khr_free_function_commands comments
Pennycook Dec 5, 2024
9747f7a
Add + marks to code blocks containing ...
Pennycook Dec 6, 2024
2527e90
Require at least 1 reduction in *_reduce functions
Pennycook Dec 6, 2024
f63adeb
Replace "must be" with "is" in constraints
Pennycook Dec 6, 2024
47c08f8
Use bulleted list for multiple constraints
Pennycook Dec 6, 2024
15fd80a
Rewrite preconditions for USM copy functions
Pennycook Dec 6, 2024
9c62792
Fix typo in non-normative note
Pennycook Dec 6, 2024
4377549
Define kernel object overloads via equivalence
Pennycook Dec 6, 2024
c24fb13
Clarify dependencies for command_/event_barrier
Pennycook Dec 6, 2024
664a912
Clarify that event_barrier can be a no-op
Pennycook Dec 6, 2024
16111b2
Add missing invocation constructor
Pennycook Dec 6, 2024
88b540a
Restart numbering at 1 in each synopsis block
Pennycook Dec 6, 2024
2575901
Replace backticks with [code] environment
Pennycook Dec 6, 2024
8fa1ce2
Add + marks to code blocks containing ... again
Pennycook Dec 6, 2024
8d79af4
Fix grammar: "is" to "are"
Pennycook Dec 6, 2024
2ba2394
Fix formatting of bulleted lists
Pennycook Dec 6, 2024
e382dbc
Fix more instances of "is" that should be "are"
Pennycook Dec 6, 2024
a9bdc10
Remove unnecessary device-copyable constraint
Pennycook Dec 6, 2024
269706c
Remove khr::invocation from free_function_commands
Pennycook Dec 6, 2024
fa8a8f6
Remove empty issues section
Pennycook Dec 9, 2024
db380b4
Add missing constraints to fill overloads
Pennycook Dec 9, 2024
d26831a
Remove *_reduce functions for kernel objects
Pennycook Dec 12, 2024
75867f7
Fix copy-paste error in launch_task definition
Pennycook Jan 17, 2025
151f632
Remove unnecessary "is"
Pennycook Jan 20, 2025
32d11f5
Explain potential performance overhead of events
Pennycook Jan 20, 2025
165d07e
Add no-op note to command_barrier
Pennycook Jan 20, 2025
be56bb7
Weaken note about no-op from "is" to "may be"
Pennycook Jan 20, 2025
9897e6d
Fix copy-paste error in khr::copy
Pennycook Jan 22, 2025
b756d9e
Change KHR names to lower case
Pennycook Jan 23, 2025
e68a7c0
Remove sycl:: in free-function-command synopses
Pennycook Jan 24, 2025
96c101e
Add missing require() calls from queue overloads
Pennycook Jan 24, 2025
b279f37
Fix alignment of overload numbers
Pennycook Jan 24, 2025
d7ce65f
Fix parameter pack syntax
Pennycook Jan 24, 2025
19440ec
Add missing ptr parameter to memset
Pennycook Jan 28, 2025
c63e287
Use const queue& for khr_free_function_commands
Pennycook Apr 25, 2025
b314b77
Fix alignment of (1), (2) in khr_free_functions
Pennycook Apr 25, 2025
f1c9607
Add new line between extensions
Pennycook Apr 29, 2025
caf3b0a
Forbid calling anything after a free function
Pennycook May 19, 2025
ae40379
Add comments with references to old APIs
Pennycook May 27, 2025
a9289fe
Revert "Forbid calling anything after a free function"
Pennycook Jun 3, 2025
1e3737b
Remove all handler overloads
Pennycook Jun 3, 2025
f9ca360
Add khr::requirements class and overloads
Pennycook Jun 4, 2025
3057215
Allow kernel_bundle as a requirement
Pennycook Jun 13, 2025
3f66bb4
Use "status" instead of "state" for events
Pennycook Jun 17, 2025
bbd090e
Forbid requirements with multiple tracking objects
Pennycook Jun 17, 2025
5edf35d
Add blank line before bulleted list
Pennycook Jun 17, 2025
44ed92c
Expand Requirements... parameter pack correctly
Pennycook Jun 17, 2025
3073621
Support only non-deprecated accessors
Pennycook Jun 17, 2025
2afc9f0
Add exposition-only paragraph to function synopses
Pennycook Jun 17, 2025
f31095a
Add constraints to limit kernel bundles to kernels
Pennycook Jun 19, 2025
fcd2ca0
Add constraints to limit accessors to kernels
Pennycook Jun 19, 2025
1ee9698
Add constraints to limit accessor targets
Pennycook Jun 19, 2025
547c100
Use requirements in free function commands example
Pennycook Jul 18, 2025
896d71f
Merge branch 'main' into khr_free_function_commands
TApplencourt Sep 12, 2025
de8854f
Merge branch 'main' into khr_free_function_commands_new
slawekptak Oct 10, 2025
11ed357
Add launch_host functions
slawekptak Sep 15, 2025
17c66d9
Fix formatting
slawekptak Oct 13, 2025
0b30eb1
Apply suggestion from @gmlueck
slawekptak Oct 13, 2025
166bd46
Limit the accessor target for host tasks to target::host_task
slawekptak Oct 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions adoc/chapters/architecture.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1901,6 +1901,7 @@ always matches the byte order of the devices.
This allows data to be copied between the host and the devices without any byte
swapping.

[[subsec:example.sycl.application]]
== Example SYCL application

Below is a more complex example application, combining some of the features
Expand Down
10 changes: 10 additions & 0 deletions adoc/config/rouge/lib/rouge/lexers/sycl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,14 @@ class Sycl < Cpp
replace_me # Replace with list of actual keywords
)

# Exposition-only identifiers
sycl_exposition_only = %w(
register-events
register-accessors
register-kernel-bundle
has-tracking
)

# Here are some interesting tokens
# https://pygments.org/docs/tokens/ unused in C++ we can reuse
# in SYCL mode:
Expand Down Expand Up @@ -466,6 +474,8 @@ class Sycl < Cpp
# Insert some specific rules at the beginning of the statement
# rule of the C++ lexer
prepend :statements do
rule %r/(?:#{sycl_exposition_only.join('|')})\b/,
Generic::Emph
rule %r/(?:#{sycl_data_types.join('|')})\b/,
Keyword::Pseudo
rule %r/(?:#{sycl_functions.join('|')})\b/,
Expand Down
3 changes: 2 additions & 1 deletion adoc/config/rouge/lib/rouge/themes/sycl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class SYCLspec < Github
style Comment::Single, :fg => '#9acd32'
# Use a clearer white background
style Text, :bg => '#ffffff'

# Render exposition-only functions in italics to match ISO C++
style Generic::Emph, :fg => '#000000', :italic => true
end
end
end
1 change: 1 addition & 0 deletions adoc/extensions/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ include::sycl_khr_group_interface.adoc[leveloffset=2]
include::sycl_khr_max_work_group_queries.adoc[leveloffset=2]
include::sycl_khr_queue_flush.adoc[leveloffset=2]
include::sycl_khr_work_item_queries.adoc[leveloffset=2]
include::sycl_khr_free_function_commands.adoc[leveloffset=2]
Loading