Skip to content

[SYCL] Add CodingGuidelines.rst for libsycl#171867

Merged
bader merged 3 commits intollvm:mainfrom
KseniyaTikhomirova:libsycl_coding_guide
Jan 15, 2026
Merged

[SYCL] Add CodingGuidelines.rst for libsycl#171867
bader merged 3 commits intollvm:mainfrom
KseniyaTikhomirova:libsycl_coding_guide

Conversation

@KseniyaTikhomirova
Copy link
Contributor

No description provided.

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
@KseniyaTikhomirova
Copy link
Contributor Author

some extra details can be found here #166927 (comment)

@bader bader changed the title [SYCL] add CodingGuidelines.rst for libsycl [SYCL] Add CodingGuidelines.rst for libsycl Dec 11, 2025
@bader bader requested review from bader and tahonermann December 11, 2025 17:03
@Fznamznon Fznamznon added the SYCL https://registry.khronos.org/SYCL label Dec 15, 2025
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
Copy link
Contributor

@tahonermann tahonermann left a comment

Choose a reason for hiding this comment

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

Sorry for the long delay on this, @KseniyaTikhomirova. I posted a number of suggestions intended to simplify and shorten the document and to address grammar and spelling issues.

Comment on lines 41 to 44
* **Directory Names** within ``libsycl`` directory should be in the snake case
(e.g. ``test_e2e``). In some case exceptions may apply: for example
``Inputs`` is usually used as default name for directories, containing helper
classes for LIT tests and that should be excluded from test descovery.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* **Directory Names** within ``libsycl`` directory should be in the snake case
(e.g. ``test_e2e``). In some case exceptions may apply: for example
``Inputs`` is usually used as default name for directories, containing helper
classes for LIT tests and that should be excluded from test descovery.
* **Directory Names** should be in snake case (e.g. ``test_e2e``) except in
cases where LLVM project wide conventions are used. For example, LIT tests
often use an ``Inputs`` directory to hold files that are used by tests but
that should be excluded from test discovery.

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
@KseniyaTikhomirova
Copy link
Contributor Author

@tahonermann thank you, I agree with all your comments and applied them all af2ecc6

Copy link
Contributor

@tahonermann tahonermann left a comment

Choose a reason for hiding this comment

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

@bader bader merged commit 4a4befe into llvm:main Jan 15, 2026
11 checks passed
Priyanshu3820 pushed a commit to Priyanshu3820/llvm-project that referenced this pull request Jan 18, 2026
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
BStott6 pushed a commit to BStott6/llvm-project that referenced this pull request Jan 22, 2026
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

SYCL https://registry.khronos.org/SYCL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants