-
Notifications
You must be signed in to change notification settings - Fork 23
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 kernels 2 #146
base: master
Are you sure you want to change the base?
SYCL kernels 2 #146
Conversation
On sunspot, testing using 1 process, 8-threads, 1 GPU.
One unit test fails (test_norm, synorm_dev, fro (upper and lower)
|
233e355
to
7935dcb
Compare
LDFLAGS += -fsycl -fsycl-unnamed-lambda # allow unnamed sycl lambda kernels | ||
endif | ||
|
||
endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Makefiles, use spaces for if-else-endif
blocks. Use tabs only for rules.
# If SYCL + OpenMP-offload-kernels, specify omp device type | ||
CXXFLAGS += -fopenmp-targets=spir64 | ||
LDFLAGS += -fopenmp-targets=spir64 | ||
endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spaces.
Use SYCL kernels in SLATE (generated by dpct tool) for a SYCL-OneMKL hardware.