Skip to content
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

SYCL. Add some basic functional for sycl implementation of partition builder. #10011

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

razdoburdin
Copy link
Contributor

Hi,
I continue adding of sycl support (#9691, #9846, #9800).
By this PR I am starting adding the training in the sycl devices. All training is to large for a single PR. For that reason I plan to add it step by step together with the related tests. Here I add some basic logic related to PartitionBuilder.
This PR itself doesn't add any new functional, but I plan to combine all related parts one by one to a launchable sycl-training.

I have also made some changes in sycl-related CMakeFile to build sycl tests with icpx.

target_link_libraries(plugin_sycl_test PUBLIC -fsycl)

set_target_properties(plugin_sycl_test PROPERTIES
COMPILE_FLAGS -fsycl
Copy link
Contributor

Choose a reason for hiding this comment

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

should we also have "-fsycl-device-code-split=per_kernel" as options?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should we also have "-fsycl-device-code-split=per_kernel" as options?

I didn't observe any perf differences, at least for the last compiler.

@trivialfis trivialfis merged commit 234674a into dmlc:master Jan 31, 2024
28 of 29 checks passed
@razdoburdin razdoburdin deleted the dev/sycl/partition_builder/basics branch May 21, 2024 10:15
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.

3 participants