# dpcpp_study
**Repository Path**: pingxiyan/dpcpp_study
## Basic Information
- **Project Name**: dpcpp_study
- **Description**: Learn how to comile my cpp project based on Intel DPC++ oneAPI compiler.
- **Primary Language**: C++
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2022-03-30
- **Last Updated**: 2022-03-30
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# dpcpp_study
#### 介绍
Learn how to comile my cpp project based on Intel DPC++ oneAPI compiler.
#### Download DPC++
https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html#gs.v595hk
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/18478/l_dpcpp-cpp-compiler_p_2022.0.2.84_offline.sh
#### CMake with DPC++
$ cmake -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx …
-OR-
$ export CC=icx; export CXX=icpx; cmake …
CMake Verison >= 3.21
https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-setup/using-the-command-line/using-cmake-with-data-parallel-c-dpc.html