![]() ![]() Coding style can be defined in the preferences dialogue to have CLion stick to certain coding guidelines. To select specific unit tests, you can click Run → "edit configurations" and add "–gtest_filter=" And a pattern like "SUITE.Test" such as -gtest_filter="inv_khatri_rao.OneInputMatrixTransposed"ĬLion provides code generation and formatting tools which can come in handy when developing. To make sure everything is working properly, select mxnet_unit_tests as run configuration and run it. DUSE_CUDA=OFF -DUSE_OPENMP=ON -DUSE_OPENCV=ON -DUSE_MKL_IF_AVAILABLE=OFF -DCMAKE_VERBOSE_MAKEFILE=OFF -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache DCMAKE_CUDA_COMPILER_LAUNCHER=/usr/local/opt/ccache/bin/ccacheįor linux without CUDA you can use the following options: DCMAKE_C_COMPILER_LAUNCHER=/usr/local/opt/ccache/bin/ccache Set the C, C++ and CUDA compilers to use ccache. DCMAKE_CXX_COMPILER_LAUNCHER=/usr/local/opt/ccache/bin/ccache Setting it to 'apple' will select Apple's Accelerate.ĭisable OpenCV, which is not installed on macOS by default. Unless your Mac has a GPU and CUDA installed, this option should be turned off.Ĭhoose a BLAS (Basic Linear Algebra Subprograms) library. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |