Open5
C++ build関係
つらすぎ
OpenMP関係
_Pragma
macro内でpragmaする:# define OMP_PARALLEL_FOR _Pragma("omp parallel for")
compile option
compiler | command |
---|---|
gcc(++) |
-fopenmp |
clang(++) |
-fopenmp |
ic(p)c |
-qopenmp |
ic(p)x |
-qopenmp or -fiopenmp
|
_OPENMP
OpenMPが有効な場合は_OPENMP
が定義されている
#ifdef _OPENMP
#include <omp.h>
#endif
package manager (cargoみたいなやつ)
C++のecosystem
compiler
build
package manager
test
code整形
documentation
- Doxygen
- MKDocs
- ...
未整理...
- Valgrind
- Sanitizers
- gprof/gdb
- IDE?