This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (env3) ~/coriander/build (llvm-4.0|△2) $ rm -Rf * | |
| (env3) ~/coriander/build (llvm-4.0|△2) $ cmake .. -DBUILD_TESTS=ON -DCLANG_HOME=/usr/local/opt/llvm-4.0 -DCOCL_SPAM=ON | |
| -- The C compiler identification is AppleClang 8.1.0.8020042 | |
| -- The CXX compiler identification is AppleClang 8.1.0.8020042 | |
| -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc | |
| -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works | |
| -- Detecting C compiler ABI info | |
| -- Detecting C compiler ABI info - done | |
| -- Detecting C compile features | |
| -- Detecting C compile features - done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~/git-local/CLBlast/build (master|✔) $ lldb ./clblast_test_xgemv | |
| (lldb) target create "./clblast_test_xgemv" | |
| Current executable set to './clblast_test_xgemv' (x86_64). | |
| (lldb) run -device 1 | |
| Process 727 launched: './clblast_test_xgemv' (x86_64) | |
| * Options given/available: | |
| -platform 0 [=default] | |
| -device 1 [=default] | |
| -full_test [false] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ clinfo | |
| Number of platforms 1 | |
| Platform Name Apple | |
| Platform Vendor Apple | |
| Platform Version OpenCL 1.2 (Mar 6 2017 20:53:28) | |
| Platform Profile FULL_PROFILE | |
| Platform Extensions cl_APPLE_SetMemObjectDestructor cl_APPLE_ContextLoggingFunctions cl_APPLE_clut cl_APPLE_query_kernel_names cl_APPLE_gl_sharing cl_khr_gl_event | |
| Platform Name Apple | |
| Number of devices 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| args: ./easycl_unittests --gtest_filter=-SLOW* | |
| Note: Google Test filter = -SLOW* | |
| [==========] Running 63 tests from 25 test cases. | |
| [----------] Global test environment set-up. | |
| [----------] 1 test from testscalars | |
| [ RUN ] testscalars.test1 | |
| found opencl library | |
| Using Apple , OpenCL platform: Apple | |
| Using OpenCL device: Intel(R) HD Graphics 530 | |
| -156 -155 -154 -153 -152 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54 | |
| * Options given/available: | |
| -platform 0 [=default] | |
| -device 1 | |
| -full_test [false] | |
| -verbose [false] | |
| -cblas 1 [=default] | |
| * Running on OpenCL device 'Intel(R) HD Graphics 530'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "EasyCL/EasyCL.h" | |
| #include <iostream> | |
| #include <stdexcept> | |
| #include <cstddef> | |
| #include "cocl/cocl.h" | |
| using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "EasyCL/EasyCL.h" | |
| #include <iostream> | |
| #include <stdexcept> | |
| #include <cstddef> | |
| #include "cocl/cocl.h" | |
| using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "EasyCL/EasyCL.h" | |
| #include <iostream> | |
| #include <stdexcept> | |
| #include "cocl/cocl.h" | |
| using namespace std; | |
| string kernelSource = R"( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "EasyCL/EasyCL.h" | |
| #include <iostream> | |
| #include <stdexcept> | |
| #include "cocl/cocl.h" | |
| using namespace std; | |
| string kernelSource = R"( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "EasyCL/EasyCL.h" | |
| #include <iostream> | |
| #include <stdexcept> | |
| #include "cocl/cocl.h" | |
| using namespace std; | |
| string kernelSource = R"( |