Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
b3485c6
Add sycl_khr_free_function_commands extension
Pennycook Oct 17, 2024
b21cca8
Reword khr_free_function_commands comment
Pennycook Dec 5, 2024
13cacc3
Add periods to khr_free_function_commands comments
Pennycook Dec 5, 2024
2ea8523
Add + marks to code blocks containing ...
Pennycook Dec 6, 2024
9b826a5
Require at least 1 reduction in *_reduce functions
Pennycook Dec 6, 2024
db088aa
Replace "must be" with "is" in constraints
Pennycook Dec 6, 2024
617952a
Use bulleted list for multiple constraints
Pennycook Dec 6, 2024
c0f0694
Rewrite preconditions for USM copy functions
Pennycook Dec 6, 2024
2c4ef9d
Fix typo in non-normative note
Pennycook Dec 6, 2024
62daf3b
Define kernel object overloads via equivalence
Pennycook Dec 6, 2024
a095646
Clarify dependencies for command_/event_barrier
Pennycook Dec 6, 2024
6f1b0c6
Clarify that event_barrier can be a no-op
Pennycook Dec 6, 2024
24db29a
Add missing invocation constructor
Pennycook Dec 6, 2024
b1559f5
Restart numbering at 1 in each synopsis block
Pennycook Dec 6, 2024
bcaa650
Replace backticks with [code] environment
Pennycook Dec 6, 2024
806ecd7
Add + marks to code blocks containing ... again
Pennycook Dec 6, 2024
68aa80b
Fix grammar: "is" to "are"
Pennycook Dec 6, 2024
2932fdf
Fix formatting of bulleted lists
Pennycook Dec 6, 2024
d5f9c70
Fix more instances of "is" that should be "are"
Pennycook Dec 6, 2024
7f010c8
Remove unnecessary device-copyable constraint
Pennycook Dec 6, 2024
cfb0dac
Remove khr::invocation from free_function_commands
Pennycook Dec 6, 2024
8607d1d
Remove empty issues section
Pennycook Dec 9, 2024
3dbaf3b
Add missing constraints to fill overloads
Pennycook Dec 9, 2024
1bfb7c2
Remove *_reduce functions for kernel objects
Pennycook Dec 12, 2024
55ba87b
Fix copy-paste error in launch_task definition
Pennycook Jan 17, 2025
7215569
Remove unnecessary "is"
Pennycook Jan 20, 2025
413972a
Explain potential performance overhead of events
Pennycook Jan 20, 2025
2aca4ff
Add no-op note to command_barrier
Pennycook Jan 20, 2025
c46e9a8
Weaken note about no-op from "is" to "may be"
Pennycook Jan 20, 2025
6994776
Fix copy-paste error in khr::copy
Pennycook Jan 22, 2025
9cdbdc0
Change KHR names to lower case
Pennycook Jan 23, 2025
cd04c4e
Remove sycl:: in free-function-command synopses
Pennycook Jan 24, 2025
382a79e
Add missing require() calls from queue overloads
Pennycook Jan 24, 2025
05b13aa
Fix alignment of overload numbers
Pennycook Jan 24, 2025
215f099
Fix parameter pack syntax
Pennycook Jan 24, 2025
589f171
Add missing ptr parameter to memset
Pennycook Jan 28, 2025
30d512c
Use const queue& for khr_free_function_commands
Pennycook Apr 25, 2025
ab91287
Fix alignment of (1), (2) in khr_free_functions
Pennycook Apr 25, 2025
1e1b61f
Add new line between extensions
Pennycook Apr 29, 2025
56c6356
Forbid calling anything after a free function
Pennycook May 19, 2025
1cff15b
Add comments with references to old APIs
Pennycook May 27, 2025
ce2c6f2
Revert "Forbid calling anything after a free function"
Pennycook Jun 3, 2025
5250fe2
Remove all handler overloads
Pennycook Jun 3, 2025
26b6be0
Add khr::requirements class and overloads
Pennycook Jun 4, 2025
b811d9e
Allow kernel_bundle as a requirement
Pennycook Jun 13, 2025
b6d3256
Use "status" instead of "state" for events
Pennycook Jun 17, 2025
8e4bdcd
Forbid requirements with multiple tracking objects
Pennycook Jun 17, 2025
534347a
Add blank line before bulleted list
Pennycook Jun 17, 2025
fb710d2
Expand Requirements... parameter pack correctly
Pennycook Jun 17, 2025
ec94d97
Support only non-deprecated accessors
Pennycook Jun 17, 2025
763a29e
Add exposition-only paragraph to function synopses
Pennycook Jun 17, 2025
bbcde93
Add constraints to limit kernel bundles to kernels
Pennycook Jun 19, 2025
939adc7
Add constraints to limit accessors to kernels
Pennycook Jun 19, 2025
51eb259
Add constraints to limit accessor targets
Pennycook Jun 19, 2025
d41e736
Use requirements in free function commands example
Pennycook Jul 18, 2025
11b633f
Remove an empty line from the extension index
slawekptak Oct 10, 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