-
Notifications
You must be signed in to change notification settings - Fork 118
Add new Intel CI support #736
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
Changes from 1 commit
8474390
a2bce94
332b8f2
91bd309
f8acd36
ceb124a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,11 +51,15 @@ target_sources(ginkgo_dpcpp | |
|
|
||
| ginkgo_compile_features(ginkgo_dpcpp) | ||
|
|
||
| set(GINKGO_DPCPP_FLAGS ${GINKGO_COMPILER_FLAGS} -fsycl -fsycl-device-lib=libc) | ||
| set(GINKGO_DPCPP_FLAGS ${GINKGO_COMPILER_FLAGS} -fsycl) | ||
| set(GINKGO_DPCPP_FLAGS ${GINKGO_DPCPP_FLAGS} PARENT_SCOPE) | ||
| target_compile_options(ginkgo_dpcpp PRIVATE "${GINKGO_DPCPP_FLAGS}") | ||
| target_compile_features(ginkgo_dpcpp PRIVATE cxx_std_17) | ||
| target_link_options(ginkgo_dpcpp PRIVATE -fsycl-device-lib=all) | ||
|
tcojean marked this conversation as resolved.
|
||
| target_link_libraries(ginkgo_dpcpp PUBLIC ginkgo_device) | ||
| if (GINKGO_DPCPP_SINGLE_MODE) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I do not understand this one.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we add the link flag into ginkgo library, which allows us to use single kernel (test) on single-only device even if compiling ginkgo with double kernel |
||
| target_compile_definitions(ginkgo_dpcpp PRIVATE GINKGO_DPCPP_SINGLE_MODE=1) | ||
| endif() | ||
|
|
||
| ginkgo_default_includes(ginkgo_dpcpp) | ||
| ginkgo_install_library(ginkgo_dpcpp) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.