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

Problem with GPU execution and usm::alloc::device #1

Closed
FelipeMLopez opened this issue Jan 21, 2021 · 1 comment
Closed

Problem with GPU execution and usm::alloc::device #1

FelipeMLopez opened this issue Jan 21, 2021 · 1 comment

Comments

@FelipeMLopez
Copy link

Hi Arthur,

I was trying to run your example in devcloud and after solving some problems with library paths I have encountered the following error when reserving memory for the GPU:

In file included from src/parallel_stable_sort_oneapi.cpp:7:
In file included from /glob/development-tools/versions/oneapi/gold/inteloneapi/compiler/2021.1.1/linux/bin/../include/sycl/CL/sycl.hpp:48:
In file included from /glob/development-tools/versions/oneapi/gold/inteloneapi/compiler/2021.1.1/linux/bin/../include/sycl/CL/sycl/usm.hpp:11:
/glob/development-tools/versions/oneapi/gold/inteloneapi/compiler/2021.1.1/linux/bin/../include/sycl/CL/sycl/usm/usm_allocator.hpp:42:3: error: static_assert failed due to requirement '(cl::sycl::usm::alloc)1 != usm::alloc::device' "usm_allocator does not support AllocKind == usm::alloc::device"

Did you encounter any problems like this or could it be a problem derived from the new oneAPI implementation?

Thank you for your time.

@FelipeMLopez
Copy link
Author

It seems to be a compatibility problem with usm_allocator: intel/llvm#2026
In this link it is clear that the use of usm::alloc::device is no longer allowed.

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

No branches or pull requests

1 participant