- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I have a problem using <execution> on Linux.
Here is the Linux compile
icpc -O3 -parallel -fopenmp -std=c++20 -xhost ch3804.cxx -o ch3804.out
ch3804.cxx(1): catastrophic error: cannot open source file "execution"
#include <execution>
compilation aborted for ch3804.cxx (code 4)
The same program compiles and runs to completion on Windows.
Here are the first few lines of the code.
#include <execution>
#include <iostream>
#include <algorithm>
#include <array>
#include <random>
#include <string>
#include <chrono>
using namespace std;
I tried googling but could not find anything useful.
I tried attaching the complete program but got this message.
The attachment's ch3804.cxx content type (text/plain) does not match its file extension and has been removed.
Any thoughts?
I've written some examples to compare user sorting, with stl serial sorting and stl parallel sorting.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Ian,
You are getting an error since <execution> is currently only available on msvc. Intel c++ compilers havent implemented <execution>.
But intel does offer its own implementation for parallelism which is DPC++. If you are interested, please refer Data Parallel C++ Documentation — oneAPI DPC++ Compiler documentation (intel.github.io) for getting started with dpc++.
Regards
Prasanth
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Ian,
You are getting an error since <execution> is currently only available on msvc. Intel c++ compilers havent implemented <execution>.
But intel does offer its own implementation for parallelism which is DPC++. If you are interested, please refer Data Parallel C++ Documentation — oneAPI DPC++ Compiler documentation (intel.github.io) for getting started with dpc++.
Regards
Prasanth
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Thanks for getting back. I'll have a look at the documentation.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Ian,
Thanks for marking the reply as the solution.
Let us know if we can close this thread.
Regards
Prasanth
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Ian,
Thanks for the confirmation.
As the issue has been resolved and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only
Regards
Prasanth