- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As title.
OS: CentOS 8.2
One API version: 2021.1.1.
Is it a header file search folder setting issue, because I can see some stdint.h files in /opt/intel/oneapi folder. If yes, how to set this for dpcpp compiler?
Thx in advance.
Add on 2021/01/29:
The log is as below, seems spirv header cannot find cstdint.
[root@localhost matrix_mul]# make all
dpcpp -std=c++17 -g -o matrix_mul_dpc src/matrix_mul_dpcpp.cpp
In file included from src/matrix_mul_dpcpp.cpp:17:
In file included from /opt/intel/oneapi/compiler/2021.1.1/linux/bin/../include/sycl/CL/sycl.hpp:11:
In file included from /opt/intel/oneapi/compiler/2021.1.1/linux/bin/../include/sycl/CL/sycl/ONEAPI/atomic.hpp:11:
In file included from /opt/intel/oneapi/compiler/2021.1.1/linux/bin/../include/sycl/CL/sycl/ONEAPI/atomic_accessor.hpp:11:
In file included from /opt/intel/oneapi/compiler/2021.1.1/linux/bin/../include/sycl/CL/sycl/ONEAPI/atomic_enums.hpp:11:
In file included from /opt/intel/oneapi/compiler/2021.1.1/linux/bin/../include/sycl/CL/__spirv/spirv_ops.hpp:10:
/opt/intel/oneapi/compiler/2021.1.1/linux/bin/../include/sycl/CL/__spirv/spirv_types.hpp:11:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
make: *** [Makefile:14: all] Error 1
BR
Matrix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Self fixed w/ below command.
$ yum groupinstall 'Development Tools'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting the solution. Intel will no longer monitor this thread. Any further discussion on this thread will be considered community only.
Regards,
Rahul
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page