両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン |
hardware:raspberry_pi:dietpi:opencl_on_videocore_iv_gpu [2024/04/24 10:55] – [VC4C のビルド & インストール] ともやん | hardware:raspberry_pi:dietpi:opencl_on_videocore_iv_gpu [2024/04/26 00:55] – [ベンチマーク] ともやん |
---|
====== VideoCore IV GPU で OpenCL ====== | ====== Raspberry Pi Zero WH VideoCore IV GPU で OpenCL🤤 ====== |
本家: [[git>doe300/VC4CL|doe300/VC4CL: OpenCL implementation running on the VideoCore IV GPU of the Raspberry Pi models]]\\ | 本家: [[git>doe300/VC4CL|doe300/VC4CL: OpenCL implementation running on the VideoCore IV GPU of the Raspberry Pi models]]\\ |
| |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result_hlong><html><pre> | <WRAP color_result_hlong><html><pre> |
| [ 1%] <font color="#12488B"><b>Creating directories for 'cpplog-project'</b></font> |
| [ 1%] <font color="#12488B"><b>Performing download step (git clone) for 'cpplog-project'</b></font> |
| Cloning into 'cpplog-project'... |
| Already on 'master' |
| Your branch is up to date with 'origin/master'. |
| [ 2%] <font color="#12488B"><b>Performing update step for 'cpplog-project'</b></font> |
| From https://github.com/doe300/cpplog |
| * branch HEAD -> FETCH_HEAD |
| Already up to date. |
| [ 2%] <font color="#12488B"><b>No patch step for 'cpplog-project'</b></font> |
| [ 2%] <font color="#12488B"><b>Performing configure step for 'cpplog-project'</b></font> |
| -- The C compiler identification is GNU 12.2.0 |
| -- The CXX compiler identification is GNU 12.2.0 |
| -- Detecting C compiler ABI info |
| -- Detecting C compiler ABI info - done |
| -- Check for working C compiler: /usr/bin/cc - skipped |
| -- Detecting C compile features |
| -- Detecting C compile features - done |
| -- Detecting CXX compiler ABI info |
| -- Detecting CXX compiler ABI info - done |
| -- Check for working CXX compiler: /usr/bin/c++ - skipped |
| -- Detecting CXX compile features |
| -- Detecting CXX compile features - done |
| -- Configuring done |
| -- Generating done |
| -- Build files have been written to: /home/dietpi/opencl/VC4C/build/cpplog/src/cpplog-project-build |
| [ 3%] <font color="#12488B"><b>Performing build step for 'cpplog-project'</b></font> |
| [ 12%] <font color="#26A269">Building CXX object CMakeFiles/cpplog.dir/src/log.cpp.o</font> |
| [ 25%] <font color="#26A269">Building CXX object CMakeFiles/cpplog.dir/src/logger.cpp.o</font> |
| [ 37%] <font color="#26A269">Building CXX object CMakeFiles/cpplog.dir/src/log_impl.cpp.o</font> |
| [ 50%] <font color="#26A269"><b>Linking CXX shared library libcpplog.so</b></font> |
| [ 50%] Built target cpplog |
| [ 62%] <font color="#26A269">Building CXX object CMakeFiles/cpplog-static.dir/src/log.cpp.o</font> |
| [ 75%] <font color="#26A269">Building CXX object CMakeFiles/cpplog-static.dir/src/logger.cpp.o</font> |
| [ 87%] <font color="#26A269">Building CXX object CMakeFiles/cpplog-static.dir/src/log_impl.cpp.o</font> |
| [100%] <font color="#26A269"><b>Linking CXX static library libcpplog-static.a</b></font> |
| [100%] Built target cpplog-static |
| [ 3%] Built target cpplog-project-build |
| [ 4%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/BasicBlock.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 4%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/CompilationError.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 5%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/Compiler.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 5%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/Disassembler.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 6%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/Expression.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 6%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/GlobalValues.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 6%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/HalfType.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 7%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/InstructionWalker.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 7%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/Locals.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 8%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/Method.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 8%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/Module.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 9%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/ProcessUtil.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 9%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/Profiler.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 9%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/Register.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 10%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/signals.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 10%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/SIMDVector.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 11%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/ThreadPool.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 11%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/Types.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 11%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/Values.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 12%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/shared/BinaryHeader.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 12%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/AvailableExpressionAnalysis.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 13%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/ControlFlowGraph.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 13%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/ControlFlowLoop.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 14%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/DataDependencyGraph.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 14%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/DebugGraph.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 14%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/DependencyGraph.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 15%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/DominatorTree.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 15%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/FlagsAnalysis.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 17%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/InterferenceGraph.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 17%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/LivenessAnalysis.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 18%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/MemoryAnalysis.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 18%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/PatternMatching.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 18%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/RegisterAnalysis.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 19%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/ValueRange.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 19%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/analysis/WorkItemAnalysis.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 20%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/asm/ALUInstruction.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 20%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/asm/BranchInstruction.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 21%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/asm/CodeGenerator.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 21%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/asm/GraphColoring.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 21%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/asm/Instruction.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 22%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/asm/KernelInfo.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 22%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/asm/LoadInstruction.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 23%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/asm/OpCodes.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 23%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/asm/RegisterFixes.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 23%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/asm/SemaphoreInstruction.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 24%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intermediate/Branching.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 24%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intermediate/Helper.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 25%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intermediate/Instruction.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 25%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intermediate/LoadImmediate.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 26%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intermediate/MemoryInstruction.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/MemoryInstruction.cpp:</b> In member function ‘<b>vc4c::DataType vc4c::intermediate::MemoryInstruction::getSourceElementType(bool) const</b>’: |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/MemoryInstruction.cpp:136:39:</b> <font color="#A347BA"><b>warning: </b></font>‘<b>vc4c::DataType vc4c::DataType::toArrayType(unsigned int) const</b>’ is deprecated [<font color="#A347BA"><b>-Wdeprecated-declarations</b></font>] |
| 136 | return <font color="#A347BA"><b>elementType.toArrayType(getNumEntries().getLiteralValue()->unsignedInt())</b></font>; |
| | <font color="#A347BA"><b>~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</b></font> |
| In file included from <b>/home/dietpi/opencl/VC4C/src/intermediate/../Locals.h:12</b>, |
| from <b>/home/dietpi/opencl/VC4C/src/intermediate/IntermediateInstruction.h:10</b>, |
| from <b>/home/dietpi/opencl/VC4C/src/intermediate/MemoryInstruction.cpp:7</b>: |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../Types.h:176:33:</b> <font color="#2AA1B3"><b>note: </b></font>declared here |
| 176 | [[deprecated]] DataType <font color="#2AA1B3"><b>toArrayType</b></font>(unsigned int numElements) const; |
| | <font color="#2AA1B3"><b>^~~~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/MemoryInstruction.cpp:</b> In member function ‘<b>vc4c::DataType vc4c::intermediate::MemoryInstruction::getDestinationElementType(bool) const</b>’: |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/MemoryInstruction.cpp:174:39:</b> <font color="#A347BA"><b>warning: </b></font>‘<b>vc4c::DataType vc4c::DataType::toArrayType(unsigned int) const</b>’ is deprecated [<font color="#A347BA"><b>-Wdeprecated-declarations</b></font>] |
| 174 | return <font color="#A347BA"><b>elementType.toArrayType(getNumEntries().getLiteralValue()->unsignedInt())</b></font>; |
| | <font color="#A347BA"><b>~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../Types.h:176:33:</b> <font color="#2AA1B3"><b>note: </b></font>declared here |
| 176 | [[deprecated]] DataType <font color="#2AA1B3"><b>toArrayType</b></font>(unsigned int numElements) const; |
| | <font color="#2AA1B3"><b>^~~~~~~~~~~</b></font> |
| [ 26%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intermediate/MethodCall.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 26%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intermediate/Operations.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 27%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intermediate/Synchronization.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 27%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intermediate/TypeConversions.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 28%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intermediate/VectorHelper.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 28%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intrinsics/Comparisons.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 29%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intrinsics/Images.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 29%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intrinsics/Intrinsics.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 29%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intrinsics/Operators.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 30%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/intrinsics/WorkItems.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 30%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/llvm/BitcodeReader.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| <b>/home/dietpi/opencl/VC4C/src/llvm/BitcodeReader.cpp:</b> In member function ‘<b>void vc4c::llvm2qasm::BitcodeReader::extractKernelMetadata(vc4c::Module&, vc4c::Method&, const llvm::Function&)</b>’: |
| <b>/home/dietpi/opencl/VC4C/src/llvm/BitcodeReader.cpp:125:13:</b> <font color="#A347BA"><b>warning: </b></font>unused variable ‘<b>metadata</b>’ [<font color="#A347BA"><b>-Wunused-variable</b></font>] |
| 125 | if(auto <font color="#A347BA"><b>metadata</b></font> = func.getMetadata("kernel_arg_access_qual")) |
| | <font color="#A347BA"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/llvm/BitcodeReader.cpp:150:13:</b> <font color="#A347BA"><b>warning: </b></font>unused variable ‘<b>metadata</b>’ [<font color="#A347BA"><b>-Wunused-variable</b></font>] |
| 150 | if(auto <font color="#A347BA"><b>metadata</b></font> = func.getMetadata("kernel_arg_base_type")) |
| | <font color="#A347BA"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/llvm/BitcodeReader.cpp:</b> In member function ‘<b>void vc4c::llvm2qasm::BitcodeReader::parseInstruction(vc4c::Module&, vc4c::Method&, vc4c::llvm2qasm::LLVMInstructionList&, const llvm::Instruction&)</b>’: |
| <b>/home/dietpi/opencl/VC4C/src/llvm/BitcodeReader.cpp:937:50:</b> <font color="#A347BA"><b>warning: </b></font>conversion from ‘<b>uint64_t</b>’ {aka ‘<b>long long unsigned int</b>’} to ‘<b>unsigned int</b>’ may change value [<font color="#A347BA"><b>-Wconversion</b></font>] |
| 937 | unsigned alignment = <font color="#A347BA"><b>alloca->getAlignment()</b></font>; |
| | <font color="#A347BA"><b>~~~~~~~~~~~~~~~~~~~~^~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/llvm/BitcodeReader.cpp:</b> In member function ‘<b>vc4c::Value vc4c::llvm2qasm::BitcodeReader::toConstant(vc4c::Module&, const llvm::Value*, vc4c::Method*, vc4c::llvm2qasm::LLVMInstructionList*)</b>’: |
| <b>/home/dietpi/opencl/VC4C/src/llvm/BitcodeReader.cpp:1424:18:</b> <font color="#A347BA"><b>warning: </b></font>unused variable ‘<b>constant</b>’ [<font color="#A347BA"><b>-Wunused-variable</b></font>] |
| 1424 | else if(auto <font color="#A347BA"><b>constant</b></font> = llvm::dyn_cast<const llvm::ConstantAggregateZero>(val)) |
| | <font color="#A347BA"><b>^~~~~~~~</b></font> |
| [ 31%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/llvm/LLVMInstruction.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 31%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/normalization/AddressCalculation.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 32%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/normalization/Inliner.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 32%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/normalization/LiteralValues.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 32%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/normalization/LongOperations.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 34%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/normalization/MemoryAccess.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 34%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/normalization/MemoryMapChecks.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| <b>/home/dietpi/opencl/VC4C/src/normalization/MemoryMapChecks.cpp:</b> In function ‘<b>vc4c::Optional<vc4c::Value> vc4c::normalization::getConstantElementValue(const vc4c::Value&)</b>’: |
| <b>/home/dietpi/opencl/VC4C/src/normalization/MemoryMapChecks.cpp:99:17:</b> <font color="#A347BA"><b>warning: </b></font>unused variable ‘<b>reg</b>’ [<font color="#A347BA"><b>-Wunused-variable</b></font>] |
| 99 | if(auto <font color="#A347BA"><b>reg</b></font> = container->checkRegister()) |
| | <font color="#A347BA"><b>^~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/normalization/MemoryMapChecks.cpp:</b> In function ‘<b>vc4c::Optional<vc4c::DataType> convertSmallArrayToRegister(const vc4c::Local*)</b>’: |
| <b>/home/dietpi/opencl/VC4C/src/normalization/MemoryMapChecks.cpp:131:17:</b> <font color="#A347BA"><b>warning: </b></font>unused variable ‘<b>pointerType</b>’ [<font color="#A347BA"><b>-Wunused-variable</b></font>] |
| 131 | if(auto <font color="#A347BA"><b>pointerType</b></font> = baseType.getPointerType()) |
| | <font color="#A347BA"><b>^~~~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/normalization/MemoryMapChecks.cpp:</b> In lambda function: |
| <b>/home/dietpi/opencl/VC4C/src/normalization/MemoryMapChecks.cpp:158:21:</b> <font color="#A347BA"><b>warning: </b></font>unused variable ‘<b>memInst</b>’ [<font color="#A347BA"><b>-Wunused-variable</b></font>] |
| 158 | if(auto <font color="#A347BA"><b>memInst</b></font> = dynamic_cast<const MemoryInstruction*>(writer)) |
| | <font color="#A347BA"><b>^~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/normalization/MemoryMapChecks.cpp:</b> In lambda function: |
| <b>/home/dietpi/opencl/VC4C/src/normalization/MemoryMapChecks.cpp:165:21:</b> <font color="#A347BA"><b>warning: </b></font>unused variable ‘<b>memInst</b>’ [<font color="#A347BA"><b>-Wunused-variable</b></font>] |
| 165 | if(auto <font color="#A347BA"><b>memInst</b></font> = dynamic_cast<const MemoryInstruction*>(reader)) |
| | <font color="#A347BA"><b>^~~~~~~</b></font> |
| [ 35%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/normalization/MemoryMappings.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 35%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/normalization/Normalizer.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 36%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/normalization/Rewrite.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 36%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/optimization/Combiner.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 36%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/optimization/ControlFlow.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 37%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/optimization/Eliminator.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 37%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/optimization/Flags.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 38%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/optimization/Memory.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 38%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/optimization/Optimizer.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 38%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/optimization/Peephole.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 39%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/optimization/Reordering.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 39%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/optimization/InstructionScheduler.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 40%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/optimization/Vector.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 40%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/periphery/CacheEntry.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 41%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/periphery/RegisterLoweredMemory.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 41%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/periphery/SFU.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 41%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/periphery/TMU.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 42%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/periphery/VPM.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| <b>/home/dietpi/opencl/VC4C/src/periphery/VPM.cpp:</b> In static member function ‘<b>static vc4c::DataType vc4c::periphery::VPM::getVPMStorageType(vc4c::DataType)</b>’: |
| <b>/home/dietpi/opencl/VC4C/src/periphery/VPM.cpp:1450:74:</b> <font color="#A347BA"><b>warning: </b></font>‘<b>vc4c::DataType vc4c::DataType::toArrayType(unsigned int) const</b>’ is deprecated [<font color="#A347BA"><b>-Wdeprecated-declarations</b></font>] |
| 1450 | inVPMType = <font color="#A347BA"><b>getVPMStorageType(arrayType->elementType).toArrayType(arrayType->size)</b></font>; |
| | <font color="#A347BA"><b>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~</b></font> |
| In file included from <b>/home/dietpi/opencl/VC4C/src/periphery/../intermediate/../Locals.h:12</b>, |
| from <b>/home/dietpi/opencl/VC4C/src/periphery/../intermediate/IntermediateInstruction.h:10</b>, |
| from <b>/home/dietpi/opencl/VC4C/src/periphery/../InstructionWalker.h:10</b>, |
| from <b>/home/dietpi/opencl/VC4C/src/periphery/VPM.h:11</b>, |
| from <b>/home/dietpi/opencl/VC4C/src/periphery/VPM.cpp:7</b>: |
| <b>/home/dietpi/opencl/VC4C/src/periphery/../intermediate/../Types.h:176:33:</b> <font color="#2AA1B3"><b>note: </b></font>declared here |
| 176 | [[deprecated]] DataType <font color="#2AA1B3"><b>toArrayType</b></font>(unsigned int numElements) const; |
| | <font color="#2AA1B3"><b>^~~~~~~~~~~</b></font> |
| [ 42%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/precompilation/ClangLibrary.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 43%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/precompilation/FrontendCompiler.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 43%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/precompilation/LLVMLibrary.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 44%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/precompilation/Precompiler.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 44%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/precompilation/TemporaryFile.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 44%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/spirv/SPIRVBuiltins.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 45%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/spirv/SPIRVHelper.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 45%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/spirv/SPIRVLexer.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 46%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/spirv/SPIRVOperation.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 46%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/spirv/SPIRVParserBase.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 47%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/spirv/SPIRVToolsParser.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 47%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/tools/Emulator.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 47%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CC.dir/tools/options.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 48%] <font color="#26A269"><b>Linking CXX shared library libVC4CC.so</b></font> |
| [ 48%] Built target VC4CC |
| [ 48%] Built target GetGitCommit |
| [ 48%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4C.dir/main.cpp.o</font> |
| [ 48%] <font color="#26A269"><b>Linking CXX executable vc4c</b></font> |
| VC4CL standard library precompiled into /home/dietpi/opencl/VC4C/../VC4CLStdLib/include/ |
| [ 48%] Built target VC4C |
| [ 48%] <font color="#26A269">Building CXX object tools/CMakeFiles/qpu_emulator.dir/emulator.cpp.o</font> |
| [ 50%] <font color="#26A269"><b>Linking CXX executable qpu_emulator</b></font> |
| [ 50%] Built target qpu_emulator |
| [ 50%] <font color="#12488B"><b>Generating test_files/unaligned_memory_access.cl.o</b></font> |
| [ 51%] <font color="#12488B"><b>Generating test_files/OpenCV/transpose.cl.o</b></font> |
| [ 51%] <font color="#12488B"><b>Generating test_files/fibonacci.cl.o</b></font> |
| [ 51%] <font color="#12488B"><b>Generating test_files/hello_world.cl.o</b></font> |
| [ 52%] <font color="#12488B"><b>Generating test_files/hello_world_constant.cl.o</b></font> |
| [ 52%] <font color="#12488B"><b>Generating test_files/hello_world_vector.cl.o</b></font> |
| [ 53%] <font color="#12488B"><b>Generating test_files/histogram.cl.o</b></font> |
| [ 53%] <font color="#12488B"><b>Generating test_files/md5.cl.o</b></font> |
| [ 53%] <font color="#12488B"><b>Generating test_files/SHA-256.cl.o</b></font> |
| [ 54%] <font color="#12488B"><b>Generating test_files/test.cl.o</b></font> |
| [ 54%] <font color="#12488B"><b>Generating test_files/test_instructions.cl.o</b></font> |
| [ 55%] <font color="#12488B"><b>Generating test_files/test_prime.cl.o</b></font> |
| [ 55%] <font color="#12488B"><b>Generating test_files/test_async_copy.cl.o</b></font> |
| [ 56%] <font color="#12488B"><b>Generating test_files/test_atomic.cl.o</b></font> |
| [ 56%] <font color="#12488B"><b>Generating test_files/test_barrier.cl.o</b></font> |
| [ 56%] <font color="#12488B"><b>Generating test_files/test_branches.cl.o</b></font> |
| [ 57%] <font color="#12488B"><b>Generating test_files/test_conditional_address.cl.o</b></font> |
| [ 57%] <font color="#12488B"><b>Generating test_files/test_constant_load.cl.o</b></font> |
| [ 58%] <font color="#12488B"><b>Generating test_files/test_cross_group_access.cl.o</b></font> |
| [ 58%] <font color="#12488B"><b>Generating test_files/test_cts_regressions.cl.o</b></font> |
| [ 59%] <font color="#12488B"><b>Generating test_files/test_expect_assume.cl.o</b></font> |
| [ 59%] <font color="#12488B"><b>Generating test_files/test_hashes.cl.o</b></font> |
| [ 59%] <font color="#12488B"><b>Generating test_files/local_private_storage.cl.o</b></font> |
| [ 60%] <font color="#12488B"><b>Generating test_files/test_other.cl.o</b></font> |
| [ 60%] <font color="#12488B"><b>Generating test_files/test_sfu.cl.o</b></font> |
| [ 61%] <font color="#12488B"><b>Generating test_files/test_shuffle.cl.o</b></font> |
| [ 61%] <font color="#12488B"><b>Generating test_files/test_storage.cl.o</b></font> |
| [ 62%] <font color="#12488B"><b>Generating test_files/test_struct.cl.o</b></font> |
| [ 62%] <font color="#12488B"><b>Generating test_files/test_vector.cl.o</b></font> |
| [ 63%] <font color="#12488B"><b>Generating test_files/test_vectorization.cl.o</b></font> |
| [ 63%] <font color="#12488B"><b>Generating test_files/test_vpm_read.cl.o</b></font> |
| [ 64%] <font color="#12488B"><b>Generating test_files/test_vpm_write.cl.o</b></font> |
| [ 64%] <font color="#12488B"><b>Generating test_files/test_work_item.cl.o</b></font> |
| [ 64%] <font color="#12488B"><b>Generating test_files/bugs/30_local_memory.cl.o</b></font> |
| [ 65%] <font color="#12488B"><b>Generating test_files/bugs/33_floating_point_folding.cl.o</b></font> |
| [ 65%] <font color="#12488B"><b>Generating test_files/bugs/vc4cl_27_wrong_result.cl.o</b></font> |
| [ 67%] <font color="#12488B"><b>Generating test_files/bugs/54_invalid_results.cl.o</b></font> |
| [ 67%] <font color="#12488B"><b>Generating test_files/boost-compute/initial_reduce.cl.o</b></font> |
| [ 68%] <font color="#12488B"><b>Generating test_files/boost-compute/adjacent_find.cl.o</b></font> |
| [ 68%] <font color="#12488B"><b>Generating test_files/boost-compute/test_count.cl.o</b></font> |
| [ 68%] <font color="#12488B"><b>Generating test_files/boost-compute/test_extrema.cl.o</b></font> |
| [ 69%] <font color="#12488B"><b>Generating test_files/boost-compute/test_functional_popcount.cl.o</b></font> |
| [ 69%] <font color="#12488B"><b>Generating test_files/boost-compute/test_reduce.cl.o</b></font> |
| [ 70%] <font color="#12488B"><b>Generating test_files/boost-compute/test_insertion_sort.cl.o</b></font> |
| [ 70%] <font color="#12488B"><b>Generating test_files/boost-compute/test_merge.cl.o</b></font> |
| [ 71%] <font color="#12488B"><b>Generating test_files/boost-compute/test_transform2.cl.o</b></font> |
| [ 71%] <font color="#12488B"><b>Generating test_files/boost-compute/user_defined_types.cl.o</b></font> |
| [ 71%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/pointer_cast.cl.o</b></font> |
| [ 72%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/integer_add_sat.cl.o</b></font> |
| [ 72%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/sub_sat.cl.o</b></font> |
| [ 73%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/uchar_compare.cl.o</b></font> |
| [ 73%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/async_copy_global_to_local.cl.o</b></font> |
| [ 74%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/min_max_constant_args.cl.o</b></font> |
| [ 74%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/sub_buffers_read_write.cl.o</b></font> |
| [ 74%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/local_kernel_scope.cl.o</b></font> |
| [ 75%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/barrier.cl.o</b></font> |
| [ 75%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/clamp.cl.o</b></font> |
| [ 76%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/cross_product.cl.o</b></font> |
| [ 76%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/constant.cl.o</b></font> |
| [ 77%] <font color="#12488B"><b>Generating test_files/OpenCL-CTS/test_select.cl.o</b></font> |
| [ 77%] <font color="#12488B"><b>Generating test_files/BabelStream/OCLStream.cl.o</b></font> |
| [ 77%] <font color="#12488B"><b>Generating test_files/clNN/SpatialUpSamplingNearest.cl.o</b></font> |
| [ 78%] <font color="#12488B"><b>Generating test_files/deepCL/copy.cl.o</b></font> |
| [ 78%] <font color="#12488B"><b>Generating test_files/deepCL/inv.cl.o</b></font> |
| [ 79%] <font color="#12488B"><b>Generating test_files/deepCL/memset.cl.o</b></font> |
| [ 79%] <font color="#12488B"><b>Generating test_files/HandsOnOpenCL/matmul.cl.o</b></font> |
| [ 79%] <font color="#12488B"><b>Generating test_files/HandsOnOpenCL/pi_ocl.cl.o</b></font> |
| [ 80%] <font color="#12488B"><b>Generating test_files/NVIDIA/VectorAdd.cl.o</b></font> |
| [ 80%] <font color="#12488B"><b>Generating test_files/OpenCLIPP/Histogram.cl.o</b></font> |
| [ 81%] <font color="#12488B"><b>Generating test_files/pocl/test_structs_as_args.cl.o</b></font> |
| [ 81%] <font color="#12488B"><b>Generating test_files/rodinia/nearestNeighbor_kernel.cl.o</b></font> |
| [ 82%] <font color="#12488B"><b>Generating test_files/OpenCV/flip.cl.o</b></font> |
| [ 82%] <font color="#12488B"><b>Generating test_files/OpenCV/meanstddev.cl.o</b></font> |
| [ 82%] <font color="#12488B"><b>Generating test_files/OpenCV/normalize.cl.o</b></font> |
| [ 84%] <font color="#12488B"><b>Generating test_files.h</b></font> |
| [ 84%] <font color="#12488B"><b>Generating test_files/test_files.cpp</b></font> |
| [ 84%] <font color="#26A269">Building CXX object test/CMakeFiles/TestData.dir/ArithmeticTests.cpp.o</font> |
| In file included from <b>/home/dietpi/opencl/VC4C/test/ArithmeticTests.cpp:6</b>: |
| /home/dietpi/opencl/VC4C/test/TestEntries.h: In instantiation of ‘<b>std::vector<_RealType> test_data::transform(const std::vector<T>&, const Func&) [with R = float; T = float; Func = registerTypeTests<float, int>(const std::string&)::<lambda(float)>]</b>’: |
| <b>/home/dietpi/opencl/VC4C/test/ArithmeticTests.cpp:430:25:</b> required from ‘<b>void registerTypeTests(const std::string&) [with T = float; IntType = int; std::string = std::__cxx11::basic_string<char>]</b>’ |
| <b>/home/dietpi/opencl/VC4C/test/ArithmeticTests.cpp:609:38:</b> required from here |
| <b>/home/dietpi/opencl/VC4C/test/TestEntries.h:107:29:</b> <font color="#A347BA"><b>warning: </b></font>conversion from ‘<b>int</b>’ to ‘<font color="#A347BA"><b>__gnu_cxx::__alloc_trai</b></font><b>ts<std::allocator<float>, float>::value_type</b>’ {aka ‘<b>float</b>’} may change value [<font color="#A347BA"><b>-Wconversion</b></font>] |
| 107 | result[i] = <font color="#A347BA"><b>func(arg[i])</b></font>; |
| | <font color="#A347BA"><b>~~~~^~~~~~~~</b></font> |
| [ 85%] <font color="#26A269">Building CXX object test/CMakeFiles/TestData.dir/ConversionTests.cpp.o</font> |
| [ 85%] <font color="#26A269">Building CXX object test/CMakeFiles/TestData.dir/FloatTests.cpp.o</font> |
| [ 85%] <font color="#26A269">Building CXX object test/CMakeFiles/TestData.dir/IntegerTests.cpp.o</font> |
| [ 86%] <font color="#26A269">Building CXX object test/CMakeFiles/TestData.dir/MathTests.cpp.o</font> |
| In file included from <b>/home/dietpi/opencl/VC4C/test/MathTests.cpp:6</b>: |
| /home/dietpi/opencl/VC4C/test/TestEntries.h: In instantiation of ‘<b>std::vector<_RealType> test_data::transform(const std::vector<T>&, const std::vector<U>&, const Func&) [with R = float; T = float; U = int; Func = std::function<float(float, float)>]</b>’: |
| <b>/home/dietpi/opencl/VC4C/test/MathTests.cpp:376:67:</b> required from here |
| <b>/home/dietpi/opencl/VC4C/test/TestEntries.h:119:29:</b> <font color="#A347BA"><b>warning: </b></font>conversion from ‘<font color="#A347BA"><b>__gnu_cxx::__alloc_traits<std::a</b></font><b>llocator<int>, int>::value_type</b>’ {aka ‘<b>int</b>’} to ‘<b>float</b>’ may change value [<font color="#A347BA"><b>-Wconversion</b></font>] |
| 119 | result[i] = <font color="#A347BA"><b>func(arg0[i], arg1[i])</b></font>; |
| | <font color="#A347BA"><b>~~~~^~~~~~~~~~~~~~~~~~</b></font> |
| [ 86%] <font color="#26A269">Building CXX object test/CMakeFiles/TestData.dir/MemoryTests.cpp.o</font> |
| [ 87%] <font color="#26A269">Building CXX object test/CMakeFiles/TestData.dir/RelationalTests.cpp.o</font> |
| [ 87%] <font color="#26A269">Building CXX object test/CMakeFiles/TestData.dir/VectorTests.cpp.o</font> |
| [ 88%] <font color="#26A269">Building CXX object test/CMakeFiles/TestData.dir/TestData.cpp.o</font> |
| [ 88%] <font color="#26A269">Building CXX object test/CMakeFiles/TestData.dir/test_files/test_files.cpp.o</font> |
| [ 88%] <font color="#26A269"><b>Linking CXX static library libvc4c_testdata.a</b></font> |
| [ 88%] Built target TestData |
| [ 89%] <font color="#12488B"><b>Creating directories for 'cpptest-lite-project'</b></font> |
| [ 89%] <font color="#12488B"><b>Performing download step (git clone) for 'cpptest-lite-project'</b></font> |
| Cloning into 'cpptest-lite-project'... |
| Already on 'master' |
| Your branch is up to date with 'origin/master'. |
| [ 90%] <font color="#12488B"><b>Performing update step for 'cpptest-lite-project'</b></font> |
| From https://github.com/doe300/cpptest-lite |
| * branch HEAD -> FETCH_HEAD |
| Already up to date. |
| [ 90%] <font color="#12488B"><b>No patch step for 'cpptest-lite-project'</b></font> |
| [ 90%] <font color="#12488B"><b>Performing configure step for 'cpptest-lite-project'</b></font> |
| -- The C compiler identification is GNU 12.2.0 |
| -- The CXX compiler identification is GNU 12.2.0 |
| -- Detecting C compiler ABI info |
| -- Detecting C compiler ABI info - done |
| -- Check for working C compiler: /usr/bin/cc - skipped |
| -- Detecting C compile features |
| -- Detecting C compile features - done |
| -- Detecting CXX compiler ABI info |
| -- Detecting CXX compiler ABI info - done |
| -- Check for working CXX compiler: /usr/bin/c++ - skipped |
| -- Detecting CXX compile features |
| -- Detecting CXX compile features - done |
| -- Performing Test CMAKE_HAVE_LIBC_PTHREAD |
| -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success |
| -- Found Threads: TRUE |
| -- Configuring done |
| -- Generating done |
| -- Build files have been written to: /home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project-build |
| [ 91%] <font color="#12488B"><b>Performing build step for 'cpptest-lite-project'</b></font> |
| [ 8%] <font color="#26A269">Building CXX object CMakeFiles/cpptest-lite.dir/src/BDDSuite.cpp.o</font> |
| [ 16%] <font color="#26A269">Building CXX object CMakeFiles/cpptest-lite.dir/src/CollectorOutput.cpp.o</font> |
| In file included from <b>/usr/include/c++/12/vector:70</b>, |
| from <b>/home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project/include/CollectorOutput.h:5</b>, |
| from <b>/home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project/src/CollectorOutput.cpp:10</b>: |
| <b>/usr/include/c++/12/bits/vector.tcc:</b> In member function ‘<b>void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const unsigned int&}; _Tp = Test::CollectorOutput::SuiteInfo; _Alloc = std::allocator<Test::CollectorOutput::SuiteInfo>]</b>’: |
| <b>/usr/include/c++/12/bits/vector.tcc:439:7:</b> <font color="#2AA1B3"><b>note: </b></font>parameter passing for argument of type ‘<b>std::vector<Test::CollectorOutput::SuiteInfo>::iterator</b>’ changed in GCC 7.1 |
| 439 | <font color="#2AA1B3"><b>vector<_Tp, _Alloc></b></font>:: |
| | <font color="#2AA1B3"><b>^~~~~~~~~~~~~~~~~~~</b></font> |
| In member function ‘<b>void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const unsigned int&}; _Tp = Test::CollectorOutput::SuiteInfo; _Alloc = std::allocator<Test::CollectorOutput::SuiteInfo>]</b>’, |
| inlined from ‘<b>virtual void Test::CollectorOutput::initializeSuite(const std::string&, unsigned int)</b>’ at <b>/home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project/src/CollectorOutput.cpp:16:21</b>: |
| <b>/usr/include/c++/12/bits/vector.tcc:123:28:</b> <font color="#2AA1B3"><b>note: </b></font>parameter passing for argument of type ‘<b>__gnu_cxx::__normal_iterator<Test::CollectorOutput::SuiteInfo*, std::vector<Test::CollectorOutput::SuiteInfo> ></b>’ changed in GCC 7.1 |
| 123 | <font color="#2AA1B3"><b>_M_realloc_insert(end(), std::forward<_Args>(__args)...)</b></font>; |
| | <font color="#2AA1B3"><b>~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</b></font> |
| [ 25%] <font color="#26A269">Building CXX object CMakeFiles/cpptest-lite.dir/src/CompilerOutput.cpp.o</font> |
| [ 33%] <font color="#26A269">Building CXX object CMakeFiles/cpptest-lite.dir/src/ConsoleOutput.cpp.o</font> |
| [ 41%] <font color="#26A269">Building CXX object CMakeFiles/cpptest-lite.dir/src/HTMLOutput.cpp.o</font> |
| [ 50%] <font color="#26A269">Building CXX object CMakeFiles/cpptest-lite.dir/src/ParallelSuite.cpp.o</font> |
| [ 58%] <font color="#26A269">Building CXX object CMakeFiles/cpptest-lite.dir/src/SynchronizedOutput.cpp.o</font> |
| [ 66%] <font color="#26A269">Building CXX object CMakeFiles/cpptest-lite.dir/src/TestSuite.cpp.o</font> |
| [ 75%] <font color="#26A269">Building CXX object CMakeFiles/cpptest-lite.dir/src/TestMain.cpp.o</font> |
| [ 83%] <font color="#26A269">Building CXX object CMakeFiles/cpptest-lite.dir/src/TextOutput.cpp.o</font> |
| [ 91%] <font color="#26A269">Building CXX object CMakeFiles/cpptest-lite.dir/src/XMLOutput.cpp.o</font> |
| [100%] <font color="#26A269"><b>Linking CXX shared library libcpptest-lite.so</b></font> |
| [100%] Built target cpptest-lite |
| [ 91%] Built target cpptest-lite-project-build |
| [ 92%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/RegressionTest.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 92%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/test.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 93%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestAnalyses.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| <b>/home/dietpi/opencl/VC4C/test/TestAnalyses.cpp:</b> In member function ‘<b>void TestAnalyses::testActiveWorkItems()</b>’: |
| <b>/home/dietpi/opencl/VC4C/test/TestAnalyses.cpp:1514:14:</b> <font color="#A347BA"><b>warning: </b></font>variable ‘<b>numNodes</b>’ set but not used [<font color="#A347BA"><b>-Wunused-but-set-variable</b></font>] |
| 1514 | auto <font color="#A347BA"><b>numNodes</b></font> = cfg.getNodes().size(); |
| | <font color="#A347BA"><b>^~~~~~~~</b></font> |
| [ 93%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestCustomContainers.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| In file included from <b>/home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project/include/asserts.h:3</b>, |
| from <b>/home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project/include/cpptest.h:3</b>, |
| from <b>/home/dietpi/opencl/VC4C/test/TestCustomContainers.h:10</b>, |
| from <b>/home/dietpi/opencl/VC4C/test/TestCustomContainers.cpp:7</b>: |
| /home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project/include/comparisons.h: In instantiation of ‘<b>bool Test::Comparisons::isSame(const T1&, const T2&) [with T1 = int; T2 = unsigned int]</b>’: |
| <b>/home/dietpi/opencl/VC4C/test/TestCustomContainers.cpp:51:5:</b> required from here |
| <b>/home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project/include/comparisons.h:78:37:</b> <font color="#A347BA"><b>warning: </b></font><font color="#A347BA"><b>com</b></font>parison of integer expressions of different signedness: ‘<b>const int</b>’ and ‘<b>const unsigned int</b>’ [<font color="#A347BA"><b>-Wsign-compare</b></font>] |
| 78 | return <font color="#A347BA"><b>val1 == val2</b></font>; |
| | <font color="#A347BA"><b>~~~~~^~~~~~~</b></font> |
| [ 93%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestEmulator.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 94%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestExpressions.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 94%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestFrontends.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 95%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestGraph.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 95%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestInstructions.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| <b>/home/dietpi/opencl/VC4C/test/TestInstructions.cpp:</b> In member function ‘<b>void TestInstructions::testOpCodeFlags()</b>’: |
| <b>/home/dietpi/opencl/VC4C/test/TestInstructions.cpp:827:10:</b> <font color="#C01C28"><b>error: </b></font>expected unqualified-id before numeric constant |
| 827 | auto <font color="#C01C28"><b>INT_MAX</b></font> = Value(Literal(0x7FFFFFFFu), TYPE_INT32); |
| | <font color="#C01C28"><b>^~~~~~~</b></font> |
| In file included from <b>/home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project/include/cpptest.h:3</b>, |
| from <b>/home/dietpi/opencl/VC4C/test/TestInstructions.h:10</b>, |
| from <b>/home/dietpi/opencl/VC4C/test/TestInstructions.cpp:7</b>: |
| <b>/home/dietpi/opencl/VC4C/test/TestInstructions.cpp:837:36:</b> <font color="#C01C28"><b>error: </b></font>no match for call to ‘<b>(const vc4c::OpCode) (int, int)</b>’ |
| 837 | TEST_ASSERT(checkFlagSet(<font color="#C01C28"><b>OP_ADD(INT_MAX, INT_MAX)</b></font>.second, FlagsMask::SIGNED_OVERFLOW)) |
| | <font color="#C01C28"><b>~~~~~~^~~~~~~~~~~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project/include/asserts.h:21:22:</b> <font color="#2AA1B3"><b>note: </b></font>in definition of macro ‘<b>TEST_ASSERT</b>’ |
| 21 | if(false == (<font color="#2AA1B3"><b>condition</b></font>)) { \ |
| | <font color="#2AA1B3"><b>^~~~~~~~~</b></font> |
| In file included from <b>/home/dietpi/opencl/VC4C/src/intermediate/IntermediateInstruction.h:13</b>, |
| from <b>/home/dietpi/opencl/VC4C/src/InstructionWalker.h:10</b>, |
| from <b>/home/dietpi/opencl/VC4C/src/BasicBlock.h:13</b>, |
| from <b>/home/dietpi/opencl/VC4C/src/Method.h:10</b>, |
| from <b>/home/dietpi/opencl/VC4C/src/Module.h:11</b>, |
| from <b>/home/dietpi/opencl/VC4C/test/TestInstructions.cpp:16</b>: |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:860:28:</b> <font color="#2AA1B3"><b>note: </b></font>candidate: ‘<b>vc4c::PrecalculatedValue vc4c::OpCode::operator()(const vc4c::Value&, const vc4c::Optional<vc4c::Value>&) const</b>’ |
| 860 | PrecalculatedValue <font color="#2AA1B3"><b>operator</b></font>()(const Value& firstOperand, const Optional<Value>& secondOperand) const; |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:860:52:</b> <font color="#2AA1B3"><b>note: </b></font> no known conversion for argument 1 from ‘<b>int</b>’ to ‘<b>const vc4c::Value&</b>’ |
| 860 | PrecalculatedValue operator()(<font color="#2AA1B3"><b>const Value& firstOperand</b></font>, const Optional<Value>& secondOperand) const; |
| | <font color="#2AA1B3"><b>~~~~~~~~~~~~~^~~~~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:861:28:</b> <font color="#2AA1B3"><b>note: </b></font>candidate: ‘<b>vc4c::PrecalculatedValue vc4c::OpCode::operator()(vc4c::Literal, vc4c::Literal, vc4c::DataType) const</b>’ |
| 861 | PrecalculatedValue <font color="#2AA1B3"><b>operator</b></font>()(Literal firstOperand, Literal secondOperand, DataType resultType) const; |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:861:28:</b> <font color="#2AA1B3"><b>note: </b></font> candidate expects 3 arguments, 2 provided |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:862:29:</b> <font color="#2AA1B3"><b>note: </b></font>candidate: ‘<b>vc4c::PrecalculatedVector vc4c::OpCode::operator()(const vc4c::SIMDVector&, const vc4c::SIMDVector&) const</b>’ |
| 862 | PrecalculatedVector <font color="#2AA1B3"><b>operator</b></font>()(const SIMDVector& firstOperand, const SIMDVector& secondOperand) const; |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:862:58:</b> <font color="#2AA1B3"><b>note: </b></font> no known conversion for argument 1 from ‘<b>int</b>’ to ‘<b>const vc4c::SIMDVector&</b>’ |
| 862 | PrecalculatedVector operator()(<font color="#2AA1B3"><b>const SIMDVector& firstOperand</b></font>, const SIMDVector& secondOperand) const; |
| | <font color="#2AA1B3"><b>~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:863:30:</b> <font color="#2AA1B3"><b>note: </b></font>candidate: ‘<b>vc4c::analysis::ValueRange vc4c::OpCode::operator()(const vc4c::analysis::ValueRange&, const vc4c::analysis::ValueRange&) const</b>’ |
| 863 | analysis::ValueRange <font color="#2AA1B3"><b>operator</b></font>()( |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:864:41:</b> <font color="#2AA1B3"><b>note: </b></font> no known conversion for argument 1 from ‘<b>int</b>’ to ‘<b>const vc4c::analysis::ValueRange&</b>’ |
| 864 | <font color="#2AA1B3"><b>const analysis::ValueRange& firstRange</b></font>, const analysis::ValueRange& secondRange) const; |
| | <font color="#2AA1B3"><b>~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:865:27:</b> <font color="#2AA1B3"><b>note: </b></font>candidate: ‘<b>vc4c::OperationBitMasks vc4c::OpCode::operator()(vc4c::BitMask, vc4c::BitMask) const</b>’ |
| 865 | OperationBitMasks <font color="#2AA1B3"><b>operator</b></font>()(BitMask firstMask, BitMask secondMask) const; |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:865:46:</b> <font color="#2AA1B3"><b>note: </b></font> no known conversion for argument 1 from ‘<b>int</b>’ to ‘<b>vc4c::BitMask</b>’ |
| 865 | OperationBitMasks operator()(<font color="#2AA1B3"><b>BitMask firstMask</b></font>, BitMask secondMask) const; |
| | <font color="#2AA1B3"><b>~~~~~~~~^~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/test/TestInstructions.cpp:980:36:</b> <font color="#C01C28"><b>error: </b></font>no match for call to ‘<b>(const vc4c::OpCode) (int, const vc4c::Value&)</b>’ |
| 980 | TEST_ASSERT(checkFlagSet(<font color="#C01C28"><b>OP_SUB(INT_MAX, INT_MINUS_ONE)</b></font>.second, FlagsMask::SIGNED_OVERFLOW)) |
| | <font color="#C01C28"><b>~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project/include/asserts.h:21:22:</b> <font color="#2AA1B3"><b>note: </b></font>in definition of macro ‘<b>TEST_ASSERT</b>’ |
| 21 | if(false == (<font color="#2AA1B3"><b>condition</b></font>)) { \ |
| | <font color="#2AA1B3"><b>^~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:860:28:</b> <font color="#2AA1B3"><b>note: </b></font>candidate: ‘<b>vc4c::PrecalculatedValue vc4c::OpCode::operator()(const vc4c::Value&, const vc4c::Optional<vc4c::Value>&) const</b>’ |
| 860 | PrecalculatedValue <font color="#2AA1B3"><b>operator</b></font>()(const Value& firstOperand, const Optional<Value>& secondOperand) const; |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:860:52:</b> <font color="#2AA1B3"><b>note: </b></font> no known conversion for argument 1 from ‘<b>int</b>’ to ‘<b>const vc4c::Value&</b>’ |
| 860 | PrecalculatedValue operator()(<font color="#2AA1B3"><b>const Value& firstOperand</b></font>, const Optional<Value>& secondOperand) const; |
| | <font color="#2AA1B3"><b>~~~~~~~~~~~~~^~~~~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:861:28:</b> <font color="#2AA1B3"><b>note: </b></font>candidate: ‘<b>vc4c::PrecalculatedValue vc4c::OpCode::operator()(vc4c::Literal, vc4c::Literal, vc4c::DataType) const</b>’ |
| 861 | PrecalculatedValue <font color="#2AA1B3"><b>operator</b></font>()(Literal firstOperand, Literal secondOperand, DataType resultType) const; |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:861:28:</b> <font color="#2AA1B3"><b>note: </b></font> candidate expects 3 arguments, 2 provided |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:862:29:</b> <font color="#2AA1B3"><b>note: </b></font>candidate: ‘<b>vc4c::PrecalculatedVector vc4c::OpCode::operator()(const vc4c::SIMDVector&, const vc4c::SIMDVector&) const</b>’ |
| 862 | PrecalculatedVector <font color="#2AA1B3"><b>operator</b></font>()(const SIMDVector& firstOperand, const SIMDVector& secondOperand) const; |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:862:58:</b> <font color="#2AA1B3"><b>note: </b></font> no known conversion for argument 1 from ‘<b>int</b>’ to ‘<b>const vc4c::SIMDVector&</b>’ |
| 862 | PrecalculatedVector operator()(<font color="#2AA1B3"><b>const SIMDVector& firstOperand</b></font>, const SIMDVector& secondOperand) const; |
| | <font color="#2AA1B3"><b>~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:863:30:</b> <font color="#2AA1B3"><b>note: </b></font>candidate: ‘<b>vc4c::analysis::ValueRange vc4c::OpCode::operator()(const vc4c::analysis::ValueRange&, const vc4c::analysis::ValueRange&) const</b>’ |
| 863 | analysis::ValueRange <font color="#2AA1B3"><b>operator</b></font>()( |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:864:41:</b> <font color="#2AA1B3"><b>note: </b></font> no known conversion for argument 1 from ‘<b>int</b>’ to ‘<b>const vc4c::analysis::ValueRange&</b>’ |
| 864 | <font color="#2AA1B3"><b>const analysis::ValueRange& firstRange</b></font>, const analysis::ValueRange& secondRange) const; |
| | <font color="#2AA1B3"><b>~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:865:27:</b> <font color="#2AA1B3"><b>note: </b></font>candidate: ‘<b>vc4c::OperationBitMasks vc4c::OpCode::operator()(vc4c::BitMask, vc4c::BitMask) const</b>’ |
| 865 | OperationBitMasks <font color="#2AA1B3"><b>operator</b></font>()(BitMask firstMask, BitMask secondMask) const; |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4C/src/intermediate/../asm/OpCodes.h:865:46:</b> <font color="#2AA1B3"><b>note: </b></font> no known conversion for argument 1 from ‘<b>int</b>’ to ‘<b>vc4c::BitMask</b>’ |
| 865 | OperationBitMasks operator()(<font color="#2AA1B3"><b>BitMask firstMask</b></font>, BitMask secondMask) const; |
| | <font color="#2AA1B3"><b>~~~~~~~~^~~~~~~~~</b></font> |
| make[2]: *** [test/CMakeFiles/TestVC4C.dir/build.make:188: test/CMakeFiles/TestVC4C.dir/TestInstructions.cpp.o] Error 1 |
| make[1]: *** [CMakeFiles/Makefile2:525: test/CMakeFiles/TestVC4C.dir/all] Error 2 |
| make: *** [Makefile:166: all] Error 2 |
| </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
| <font color="#AFFF00"><b>$</b></font> <font color="#26A269">git</font> diff |
| </pre></html></WRAP> |
| <WRAP color_result_hlong><html><pre><b>diff --git a/test/TestInstructions.cpp b/test/TestInstructions.cpp</b> |
| <b>index 75501e8..1329d0a 100644</b> |
| <b>--- a/test/TestInstructions.cpp</b> |
| <b>+++ b/test/TestInstructions.cpp</b> |
| <font color="#2AA1B3">@@ -824,7 +824,7 @@</font> void TestInstructions::testOpCodeFlags() |
| return false; |
| }; |
| |
| <font color="#C01C28">- auto INT_MAX = Value(Literal(0x7FFFFFFFu), TYPE_INT32);</font> |
| <font color="#26A269">+ auto INT_MAX2 = Value(Literal(0x7FFFFFFFu), TYPE_INT32);</font> |
| auto FLOAT_MINUS_ONE = Value(Literal(-1.0f), TYPE_FLOAT); |
| |
| TEST_ASSERT(checkFlagClear(OP_ADD(INT_ONE, INT_ONE).second, FlagsMask::ZERO)) |
| <font color="#2AA1B3">@@ -834,7 +834,7 @@</font> void TestInstructions::testOpCodeFlags() |
| TEST_ASSERT(checkFlagSet(OP_ADD(INT_ONE, INT_MINUS_ONE).second, FlagsMask::ZERO)) |
| TEST_ASSERT(checkFlagSet(OP_ADD(INT_MINUS_ONE, INT_MINUS_ONE).second, FlagsMask::NEGATIVE)) |
| TEST_ASSERT(checkFlagSet(OP_ADD(INT_MINUS_ONE, INT_MINUS_ONE).second, FlagsMask::CARRY)) |
| <font color="#C01C28">- TEST_ASSERT(checkFlagSet(OP_ADD(INT_MAX, INT_MAX).second, FlagsMask::SIGNED_OVERFLOW))</font> |
| <font color="#26A269">+ TEST_ASSERT(checkFlagSet(OP_ADD(INT_MAX2, INT_MAX2).second, FlagsMask::SIGNED_OVERFLOW))</font> |
| |
| TEST_ASSERT(checkFlagClear(OP_AND(INT_ONE, INT_ONE).second, FlagsMask::ZERO)) |
| TEST_ASSERT(checkFlagClear(OP_AND(INT_ONE, INT_ONE).second, FlagsMask::NEGATIVE)) |
| <font color="#2AA1B3">@@ -977,7 +977,7 @@</font> void TestInstructions::testOpCodeFlags() |
| TEST_ASSERT(checkFlagSet(OP_SUB(INT_ONE, INT_ONE).second, FlagsMask::ZERO)) |
| TEST_ASSERT(checkFlagSet(OP_SUB(INT_MINUS_ONE, INT_ONE).second, FlagsMask::NEGATIVE)) |
| TEST_ASSERT(checkFlagClear(OP_SUB(INT_MINUS_ONE, INT_ONE).second, FlagsMask::CARRY)) |
| <font color="#C01C28">- TEST_ASSERT(checkFlagSet(OP_SUB(INT_MAX, INT_MINUS_ONE).second, FlagsMask::SIGNED_OVERFLOW))</font> |
| <font color="#26A269">+ TEST_ASSERT(checkFlagSet(OP_SUB(INT_MAX2, INT_MINUS_ONE).second, FlagsMask::SIGNED_OVERFLOW))</font> |
| |
| TEST_ASSERT(checkFlagClear(OP_XOR(INT_ONE, INT_MINUS_ONE).second, FlagsMask::ZERO)) |
| TEST_ASSERT(checkFlagClear(OP_XOR(INT_ONE, INT_ONE).second, FlagsMask::NEGATIVE)) |
| </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
| <font color="#AFFF00"><b>$</b></font> <font color="#26A269">make</font> |
| </pre></html></WRAP> |
| <WRAP color_result_hlong><html><pre> |
| [ 1%] <font color="#12488B"><b>Performing update step for 'cpplog-project'</b></font> |
| From https://github.com/doe300/cpplog |
| * branch HEAD -> FETCH_HEAD |
| Already up to date. |
| [ 1%] <font color="#12488B"><b>No patch step for 'cpplog-project'</b></font> |
| [ 1%] <font color="#12488B"><b>Performing configure step for 'cpplog-project'</b></font> |
| -- Configuring done |
| -- Generating done |
| -- Build files have been written to: /home/dietpi/opencl/VC4C/build/cpplog/src/cpplog-project-build |
| [ 2%] <font color="#12488B"><b>Performing build step for 'cpplog-project'</b></font> |
| [ 50%] Built target cpplog |
| [100%] Built target cpplog-static |
| [ 3%] Built target cpplog-project-build |
| [ 48%] Built target VC4CC |
| [ 48%] Built target GetGitCommit |
| [ 48%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4C.dir/main.cpp.o</font> |
| [ 48%] <font color="#26A269"><b>Linking CXX executable vc4c</b></font> |
| [ 48%] Built target VC4C |
| [ 50%] Built target qpu_emulator |
| [ 88%] Built target TestData |
| [ 89%] <font color="#12488B"><b>Performing update step for 'cpptest-lite-project'</b></font> |
| From https://github.com/doe300/cpptest-lite |
| * branch HEAD -> FETCH_HEAD |
| Already up to date. |
| [ 89%] <font color="#12488B"><b>No patch step for 'cpptest-lite-project'</b></font> |
| [ 89%] <font color="#12488B"><b>Performing configure step for 'cpptest-lite-project'</b></font> |
| -- Configuring done |
| -- Generating done |
| -- Build files have been written to: /home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project-build |
| [ 90%] <font color="#12488B"><b>Performing build step for 'cpptest-lite-project'</b></font> |
| [100%] Built target cpptest-lite |
| [ 91%] Built target cpptest-lite-project-build |
| [ 91%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestInstructions.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 92%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestIntrinsics.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 92%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestMathFunctions.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 92%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestOperators.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 93%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestOptimizations.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 93%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestOptimizationSteps.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 94%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestPatternMatching.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 94%] <font color="#26A269">Building CXX object test/CMakeFiles/TestVC4C.dir/TestRegisterFixes.cpp.o</font> |
| <b><command-line>:</b> <font color="#A347BA"><b>warning: </b></font>"_GNU_SOURCE" redefined |
| <b><command-line>:</b> <font color="#2AA1B3"><b>note: </b></font>this is the location of the previous definition |
| [ 95%] <font color="#26A269"><b>Linking CXX executable TestVC4C</b></font> |
| /usr/bin/ld: warning: transpose.cl.o: missing .note.GNU-stack section implies executable stack |
| /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker |
| [100%] Built target TestVC4C |
| </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
| <font color="#AFFF00"><b>$</b></font> <font color="#26A269">sudo</font> <font color="#26A269">make</font> install <font color="#12488B"><b>&&</b></font> <font color="#26A269">sudo</font> <font color="#C01C28"><b>ldconfig</b></font> |
| </pre></html></WRAP> |
| <WRAP color_result_hlong><html><pre> |
| [ 1%] <font color="#12488B"><b>Performing update step for 'cpplog-project'</b></font> |
| From https://github.com/doe300/cpplog |
| * branch HEAD -> FETCH_HEAD |
| Already up to date. |
| [ 1%] <font color="#12488B"><b>No patch step for 'cpplog-project'</b></font> |
| [ 1%] <font color="#12488B"><b>Performing configure step for 'cpplog-project'</b></font> |
| -- Configuring done |
| -- Generating done |
| -- Build files have been written to: /home/dietpi/opencl/VC4C/build/cpplog/src/cpplog-project-build |
| [ 2%] <font color="#12488B"><b>Performing build step for 'cpplog-project'</b></font> |
| [ 50%] Built target cpplog |
| [100%] Built target cpplog-static |
| [ 3%] Built target cpplog-project-build |
| [ 48%] Built target VC4CC |
| [ 48%] Built target GetGitCommit |
| [ 48%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4C.dir/main.cpp.o</font> |
| [ 48%] <font color="#26A269"><b>Linking CXX executable vc4c</b></font> |
| [ 48%] Built target VC4C |
| [ 50%] Built target qpu_emulator |
| [ 88%] Built target TestData |
| [ 89%] <font color="#12488B"><b>Performing update step for 'cpptest-lite-project'</b></font> |
| From https://github.com/doe300/cpptest-lite |
| * branch HEAD -> FETCH_HEAD |
| Already up to date. |
| [ 89%] <font color="#12488B"><b>No patch step for 'cpptest-lite-project'</b></font> |
| [ 89%] <font color="#12488B"><b>Performing configure step for 'cpptest-lite-project'</b></font> |
| -- Configuring done |
| -- Generating done |
| -- Build files have been written to: /home/dietpi/opencl/VC4C/build/cpptest-lite/src/cpptest-lite-project-build |
| [ 90%] <font color="#12488B"><b>Performing build step for 'cpptest-lite-project'</b></font> |
| [100%] Built target cpptest-lite |
| [ 91%] Built target cpptest-lite-project-build |
| [100%] Built target TestVC4C |
| <font color="#2AA1B3">Install the project...</font> |
| -- Install configuration: "Debug" |
| -- Installing: /usr/local/lib/cmake/mpark_variant/mpark_variant-targets.cmake |
| -- Installing: /usr/local/include/mpark |
| -- Installing: /usr/local/include/mpark/variant.hpp |
| -- Installing: /usr/local/include/mpark/lib.hpp |
| -- Installing: /usr/local/include/mpark/in_place.hpp |
| -- Installing: /usr/local/include/mpark/config.hpp |
| -- Installing: /usr/local/lib/cmake/mpark_variant/mpark_variant-config.cmake |
| -- Installing: /usr/local/lib/cmake/mpark_variant/mpark_variant-config-version.cmake |
| -- Installing: /usr/local/lib/libVC4CC.so.0.4.9999 |
| -- Installing: /usr/local/lib/libVC4CC.so.1.2 |
| -- Set runtime path of "/usr/local/lib/libVC4CC.so.0.4.9999" to "/usr/local/lib" |
| -- Installing: /usr/local/lib/libVC4CC.so |
| -- Installing: /usr/local/bin/vc4c |
| -- Set runtime path of "/usr/local/bin/vc4c" to "/usr/local/lib" |
| -- Installing: /usr/local/share/vc4cc/VC4CC-targets.cmake |
| -- Installing: /usr/local/share/vc4cc/VC4CC-targets-debug.cmake |
| -- Installing: /usr/local/include/vc4cc |
| -- Installing: /usr/local/include/vc4cc/CompilationError.h |
| -- Installing: /usr/local/include/vc4cc/VC4C.h |
| -- Installing: /usr/local/include/vc4cc/config.h |
| -- Installing: /usr/local/include/vc4cc/Compiler.h |
| -- Installing: /usr/local/include/vc4cc/Precompiler.h |
| -- Installing: /usr/local/include/vc4cc/tools.h |
| -- Installing: /usr/local/lib/libvc4c_testdata.a |
| -- Installing: /usr/local/share/vc4cc/TestData-target.cmake |
| -- Installing: /usr/local/share/vc4cc/TestData-target-debug.cmake |
| -- Installing: /usr/local/include/vc4cc/TestData.h |
</pre></html></WRAP> | </pre></html></WRAP> |
</WRAP> | </WRAP> |
| |
| 参考: [[git>doe300/VC4C/issues/166|VC4C build error (make compile error) · Issue #166 · doe300/VC4C]]\\ |
| |
==== VC4CL のビルド & インストール ==== | ==== VC4CL のビルド & インストール ==== |
<font color="#AFFF00"><b>$</b></font> <font color="#26A269">cd</font> <u style="text-decoration-style:single">../../VC4CL</u> | <font color="#AFFF00"><b>$</b></font> <font color="#26A269">cd</font> <u style="text-decoration-style:single">../../VC4CL</u> |
<font color="#AFFF00"><b>$</b></font> <font color="#26A269">mkdir</font> build <font color="#12488B"><b>&&</b></font> <font color="#26A269">cd</font> build | <font color="#AFFF00"><b>$</b></font> <font color="#26A269">mkdir</font> build <font color="#12488B"><b>&&</b></font> <font color="#26A269">cd</font> build |
<font color="#AFFF00"><b>$</b></font> <font color="#26A269">cmake</font><font color="#999999"> </font><font color="#999999"><u style="text-decoration-style:single">..</u></font> | <font color="#AFFF00"><b>$</b></font> <font color="#26A269">cmake</font> <font color="#A347BA">-DBUILD_ICD=ON</font> <u style="text-decoration-style:single">..</u> |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result_hlong><html><pre> | <WRAP color_result_hlong><html><pre> |
-- Found OpenCL: /usr/lib/arm-linux-gnueabihf/libOpenCL.so (found version "3.0") | -- Found OpenCL: /usr/lib/arm-linux-gnueabihf/libOpenCL.so (found version "3.0") |
-- Found headers for OpenCL up to version 3.0 located in /usr/include | -- Found headers for OpenCL up to version 3.0 located in /usr/include |
-- No VC4C compiler library found! | -- VC4C library found: /home/dietpi/opencl/VC4C/build/src/libVC4CC.so |
-- VC4C compiler header found at: /home/dietpi/opencl/VC4C/include/VC4C.h | -- VC4C compiler header found at: /home/dietpi/opencl/VC4C/include/VC4C.h |
| -- VC4C test data library found: /home/dietpi/opencl/VC4C/build/test/libvc4c_testdata.a |
| -- VC4C test data header found: /home/dietpi/opencl/VC4C/build/test/TestData.h |
| -- Building with ICD support |
| -- Checking for one of the modules 'ocl-icd>=1.3' |
| -- Found Khronos ICD Loader in version 2.3.1 in /usr/lib/arm-linux-gnueabihf |
| -- Looking for clCreateProgramWithIL |
| -- Looking for clCreateProgramWithIL - found |
-- Looking for wsyncup in /usr/lib/arm-linux-gnueabihf/libcurses.so | -- Looking for wsyncup in /usr/lib/arm-linux-gnueabihf/libcurses.so |
-- Looking for wsyncup in /usr/lib/arm-linux-gnueabihf/libcurses.so - found | -- Looking for wsyncup in /usr/lib/arm-linux-gnueabihf/libcurses.so - found |
-- found clang-format: /usr/bin/clang-format | -- found clang-format: /usr/bin/clang-format |
-- Configuring done | -- Configuring done |
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. | |
Please set them or make sure they are set and tested correctly in the CMake files: | |
VC4CC_LIBRARY | |
linked by target "VC4CL" in directory /home/dietpi/opencl/VC4CL/src | |
| |
-- Generating done | -- Generating done |
CMake Generate step failed. Build files cannot be regenerated correctly. | -- Build files have been written to: /home/dietpi/opencl/VC4CL/build |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result_hlong><html><pre> | <WRAP color_result_hlong><html><pre> |
| [ 0%] Built target GetGitCommit |
| [ 2%] <font color="#12488B"><b>Generating VC4CL.icd</b></font> |
| [ 2%] Built target generate_icd |
| [ 5%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/barriers.cpp.o</font> |
| [ 8%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/Buffer.cpp.o</font> |
| [ 11%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/CommandQueue.cpp.o</font> |
| [ 14%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/common.cpp.o</font> |
| [ 17%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/Context.cpp.o</font> |
| [ 20%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/Device.cpp.o</font> |
| [ 22%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/Event.cpp.o</font> |
| [ 25%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/executor.cpp.o</font> |
| [ 28%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/extensions.cpp.o</font> |
| [ 31%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/icd_loader.cpp.o</font> |
| [ 34%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/Image.cpp.o</font> |
| [ 37%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/Kernel.cpp.o</font> |
| [ 40%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/Memory.cpp.o</font> |
| [ 42%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/ObjectTracker.cpp.o</font> |
| [ 45%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/PerformanceCounter.cpp.o</font> |
| [ 48%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/Platform.cpp.o</font> |
| [ 51%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/Program.cpp.o</font> |
| <b>/home/dietpi/opencl/VC4CL/src/Program.cpp:</b> In function ‘<b>cl_int extractLog(std::string&, std::wstringstream&)</b>’: |
| <b>/home/dietpi/opencl/VC4CL/src/Program.cpp:69:46:</b> <font color="#A347BA"><b>warning: </b></font>argument 1 is null but the corresponding size argument 3 value is 4294967295 [<font color="#A347BA"><b>-Wnonnull</b></font>] |
| 69 | std::size_t numCharacters = <font color="#A347BA"><b>std::wcstombs(nullptr, logStream.str().data(), SIZE_MAX)</b></font>; |
| | <font color="#A347BA"><b>~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</b></font> |
| In file included from <b>/usr/include/c++/12/cstdlib:75</b>, |
| from <b>/usr/include/c++/12/ext/string_conversions.h:41</b>, |
| from <b>/usr/include/c++/12/bits/basic_string.h:3960</b>, |
| from <b>/usr/include/c++/12/string:53</b>, |
| from <b>/home/dietpi/opencl/VC4CL/src/vc4cl_config.h:17</b>, |
| from <b>/home/dietpi/opencl/VC4CL/src/icd_loader.h:15</b>, |
| from <b>/home/dietpi/opencl/VC4CL/src/types.h:10</b>, |
| from <b>/home/dietpi/opencl/VC4CL/src/ObjectTracker.h:10</b>, |
| from <b>/home/dietpi/opencl/VC4CL/src/Object.h:10</b>, |
| from <b>/home/dietpi/opencl/VC4CL/src/Device.h:10</b>, |
| from <b>/home/dietpi/opencl/VC4CL/src/Context.h:9</b>, |
| from <b>/home/dietpi/opencl/VC4CL/src/Program.h:11</b>, |
| from <b>/home/dietpi/opencl/VC4CL/src/Program.cpp:7</b>: |
| <b>/usr/include/stdlib.h:958:15:</b> <font color="#2AA1B3"><b>note: </b></font>in a call to function ‘<b>size_t wcstombs(char*, const wchar_t*, size_t)</b>’ declared with attribute ‘<b>access (read_only, 2)</b>’ |
| 958 | extern size_t <font color="#2AA1B3"><b>wcstombs</b></font> (char *__restrict __s, |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| <b>/home/dietpi/opencl/VC4CL/src/Program.cpp:69:46:</b> <font color="#A347BA"><b>warning: </b></font>argument 1 is null but the corresponding size argument 3 value is 4294967295 [<font color="#A347BA"><b>-Wnonnull</b></font>] |
| 69 | std::size_t numCharacters = <font color="#A347BA"><b>std::wcstombs(nullptr, logStream.str().data(), SIZE_MAX)</b></font>; |
| | <font color="#A347BA"><b>~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</b></font> |
| <b>/usr/include/stdlib.h:958:15:</b> <font color="#2AA1B3"><b>note: </b></font>in a call to function ‘<b>size_t wcstombs(char*, const wchar_t*, size_t)</b>’ declared with attribute ‘<b>access (read_only, 2)</b>’ |
| 958 | extern size_t <font color="#2AA1B3"><b>wcstombs</b></font> (char *__restrict __s, |
| | <font color="#2AA1B3"><b>^~~~~~~~</b></font> |
| [ 54%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/queue_handler.cpp.o</font> |
| [ 57%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/TextureFormat.cpp.o</font> |
| [ 60%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/unsupported.cpp.o</font> |
| [ 62%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/shared/BinaryHeader.cpp.o</font> |
| [ 65%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/hal/emulator.cpp.o</font> |
| [ 68%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/hal/hal.cpp.o</font> |
| [ 71%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/hal/Mailbox.cpp.o</font> |
| [ 74%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/hal/userland.cpp.o</font> |
| [ 77%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/hal/V3D.cpp.o</font> |
| [ 80%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/hal/VCHI.cpp.o</font> |
| [ 82%] <font color="#26A269"><b>Linking CXX shared library libVC4CL.so</b></font> |
| [ 82%] Built target VC4CL |
| [ 85%] <font color="#26A269">Building CXX object tools/CMakeFiles/v3d_info.dir/V3DInfo.cpp.o</font> |
| [ 88%] <font color="#26A269"><b>Linking CXX executable v3d_info</b></font> |
| [ 88%] Built target v3d_info |
| [ 91%] <font color="#26A269">Building CXX object tools/CMakeFiles/v3d_profile.dir/V3DProfile.cpp.o</font> |
| <b>/home/dietpi/opencl/VC4CL/tools/V3DProfile.cpp:</b> In function ‘<b>int main(int, char**)</b>’: |
| <b>/home/dietpi/opencl/VC4CL/tools/V3DProfile.cpp:239:45:</b> <font color="#A347BA"><b>warning: </b></font>conversion from ‘<b>unsigned int</b>’ to ‘<b>uint8_t</b>’ {aka ‘<b>unsigned char</b>’} may change value [<font color="#A347BA"><b>-Wconversion</b></font>] |
| 239 | newCounters[i] = v3d.getCounter(<font color="#A347BA"><b>i</b></font>); |
| | <font color="#A347BA"><b>^</b></font> |
| [ 94%] <font color="#26A269"><b>Linking CXX executable v3d_profile</b></font> |
| [ 94%] Built target v3d_profile |
| [ 97%] <font color="#26A269">Building CXX object tools/CMakeFiles/vc4cl_dump_analyzer.dir/DumpAnalyzer.cpp.o</font> |
| [100%] <font color="#26A269"><b>Linking CXX executable vc4cl_dump_analyzer</b></font> |
| [100%] Built target vc4cl_dump_analyzer |
| </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
| <font color="#AFFF00"><b>$</b></font> <font color="#26A269">sudo</font> <font color="#26A269">make</font> install |
| </pre></html></WRAP> |
| <WRAP color_result_hlong><html><pre> |
| [ 0%] Built target GetGitCommit |
| [ 2%] Built target generate_icd |
| [ 5%] <font color="#26A269">Building CXX object src/CMakeFiles/VC4CL.dir/common.cpp.o</font> |
| [ 8%] <font color="#26A269"><b>Linking CXX shared library libVC4CL.so</b></font> |
| [ 82%] Built target VC4CL |
| [ 85%] <font color="#26A269"><b>Linking CXX executable v3d_info</b></font> |
| [ 88%] Built target v3d_info |
| [ 91%] <font color="#26A269"><b>Linking CXX executable v3d_profile</b></font> |
| [ 94%] Built target v3d_profile |
| [ 97%] <font color="#26A269"><b>Linking CXX executable vc4cl_dump_analyzer</b></font> |
| [100%] Built target vc4cl_dump_analyzer |
| <font color="#2AA1B3">Install the project...</font> |
| -- Install configuration: "Debug" |
| -- Installing: /etc/OpenCL/vendors/VC4CL.icd |
| -- Installing: /usr/local/lib/libVC4CL.so.0.4.9999 |
| -- Installing: /usr/local/lib/libVC4CL.so.1.2 |
| -- Set runtime path of "/usr/local/lib/libVC4CL.so.0.4.9999" to "/usr/local/lib" |
| -- Installing: /usr/local/lib/libVC4CL.so |
| -- Installing: /usr/local/share/vc4cl/VC4CL-targets.cmake |
| -- Installing: /usr/local/share/vc4cl/VC4CL-targets-debug.cmake |
| -- Installing: /usr/local/bin/v3d_info |
| -- Set runtime path of "/usr/local/bin/v3d_info" to "/usr/local/lib" |
| -- Installing: /usr/local/bin/v3d_profile |
| -- Set runtime path of "/usr/local/bin/v3d_profile" to "/usr/local/lib" |
| -- Installing: /usr/local/bin/vc4cl_dump_analyzer |
| -- Set runtime path of "/usr/local/bin/vc4cl_dump_analyzer" to "/usr/local/lib" |
</pre></html></WRAP> | </pre></html></WRAP> |
</WRAP> | </WRAP> |
| |
| ==== clinfo で動作確認😍 ==== |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#AFFF00"><b>$</b></font> <font color="#26A269">sudo</font> <font color="#26A269">clinfo</font> |
| </pre></html></WRAP> |
| <WRAP color_result_long><html><pre> |
| Number of platforms 1 |
| Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU |
| Platform Vendor doe300 |
| Platform Version OpenCL 1.2 VC4CL 0.4.9999 (b5a6097) |
| Platform Profile EMBEDDED_PROFILE |
| Platform Extensions cl_khr_il_program cl_khr_spir cl_khr_create_command_queue cl_altera_device_temperature cl_altera_live_object_tracking cl_khr_icd cl_khr_extended_versioning cl_khr_spirv_no_integer_wrap_decoration cl_khr_suggested_local_work_size cl_vc4cl_performance_counters |
| Platform Extensions function suffix VC4CL |
| |
| Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU |
| Number of devices 1 |
| Device Name VideoCore IV GPU |
| Device Vendor Broadcom |
| Device Vendor ID 0x14e4 |
| Device Version OpenCL 1.2 VC4CL 0.4.9999 (b5a6097) |
| Device Numeric Version 0x402000 (1.2.0) |
| Driver Version 0.4.9999 |
| Device OpenCL C Version OpenCL C 1.2 |
| Device OpenCL C Numeric Version 0x402000 (1.2.0) |
| Device Type GPU |
| Device Profile EMBEDDED_PROFILE |
| Device Available Yes |
| Compiler Available Yes |
| Linker Available Yes |
| Max compute units 1 |
| Available core IDs (ARM) 0 |
| Max clock frequency 300MHz |
| Core Temperature (Altera) 42 C |
| Device Partition (core) |
| Max number of sub-devices 0 |
| Supported partition types None |
| Supported affinity domains (n/a) |
| Max work item dimensions 3 |
| Max work item sizes 12x12x12 |
| Max work group size 12 |
| Preferred work group size multiple (kernel) 1 |
| Preferred / native vector sizes |
| char 16 / 16 |
| short 16 / 16 |
| int 16 / 16 |
| long 0 / 0 |
| half 0 / 0 (n/a) |
| float 16 / 16 |
| double 0 / 0 (n/a) |
| Half-precision Floating-point support (n/a) |
| Single-precision Floating-point support (core) |
| Denormals No |
| Infinity and NANs No |
| Round to nearest No |
| Round to zero Yes |
| Round to infinity No |
| IEEE754-2008 fused multiply-add No |
| Support is emulated in software No |
| Correctly-rounded divide and sqrt operations No |
| Double-precision Floating-point support (n/a) |
| Address bits 32, Little-Endian |
| Global memory size 67108864 (64MiB) |
| Error Correction support No |
| Max memory allocation 33554432 (32MiB) |
| Unified memory for Host and Device Yes |
| Minimum alignment for any data type 64 bytes |
| Alignment of base address 512 bits (64 bytes) |
| Global Memory cache type Read/Write |
| Global Memory cache size 32768 (32KiB) |
| Global Memory cache line size 64 bytes |
| Image support No |
| Local memory type Global |
| Local memory size 67108864 (64MiB) |
| Max number of constant args 32 |
| Max constant buffer size 67108864 (64MiB) |
| Max size of kernel argument 256 |
| Queue properties |
| Out-of-order execution No |
| Profiling Yes |
| Prefer user sync for interop Yes |
| Profiling timer resolution 1ns |
| Execution capabilities |
| Run OpenCL kernels Yes |
| Run native kernels No |
| IL version SPIR-V_1.5 SPIR_1.2 |
| ILs with version SPIR 0x402000 (1.2.0) |
| SPIR-V 0x405000 (1.5.0) |
| SPIR versions 1.2 |
| printf() buffer size 0 |
| Built-in kernels (n/a) |
| Built-in kernels with version (n/a) |
| Device Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_nv_pragma_unroll cl_arm_core_id cl_ext_atomic_counters_32 cl_khr_initialize_memory cl_arm_integer_dot_product_int8 cl_arm_integer_dot_product_accumulate_int8 cl_arm_integer_dot_product_accumulate_int16 cl_arm_integer_dot_product_accumulate_saturate_int8 cl_khr_expect_assume cl_khr_il_program cl_khr_spir cl_khr_create_command_queue cl_altera_device_temperature cl_altera_live_object_tracking cl_khr_icd cl_khr_extended_versioning cl_khr_spirv_no_integer_wrap_decoration cl_khr_suggested_local_work_size cl_vc4cl_performance_counters |
| Device Extensions with Version cl_khr_global_int32_base_atomics 0x400000 (1.0.0) |
| cl_khr_global_int32_extended_atomics 0x400000 (1.0.0) |
| cl_khr_local_int32_base_atomics 0x400000 (1.0.0) |
| cl_khr_local_int32_extended_atomics 0x400000 (1.0.0) |
| cl_khr_byte_addressable_store 0x400000 (1.0.0) |
| cl_nv_pragma_unroll 0 (0.0.0) |
| cl_arm_core_id 0x800000 (2.0.0) |
| cl_ext_atomic_counters_32 0x1400000 (5.0.0) |
| cl_khr_initialize_memory 0x400000 (1.0.0) |
| cl_arm_integer_dot_product_int8 0xc00000 (3.0.0) |
| cl_arm_integer_dot_product_accumulate_int8 0xc00000 (3.0.0) |
| cl_arm_integer_dot_product_accumulate_int16 0xc00000 (3.0.0) |
| cl_arm_integer_dot_product_accumulate_saturate_int8 0xc00000 (3.0.0) |
| cl_khr_expect_assume 0x400000 (1.0.0) |
| cl_khr_il_program 0x400000 (1.0.0) |
| cl_khr_spir 0x400000 (1.0.0) |
| cl_khr_create_command_queue 0x400000 (1.0.0) |
| cl_altera_device_temperature 0 (0.0.0) |
| cl_altera_live_object_tracking 0 (0.0.0) |
| cl_khr_icd 0x400000 (1.0.0) |
| cl_khr_extended_versioning 0x400000 (1.0.0) |
| cl_khr_spirv_no_integer_wrap_decoration 0 (0.0.0) |
| cl_khr_suggested_local_work_size 0x400000 (1.0.0) |
| cl_vc4cl_performance_counters 0 (0.0.0) |
| |
| NULL platform behavior |
| clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) OpenCL for the Raspberry Pi VideoCore IV GPU |
| clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [VC4CL] |
| clCreateContext(NULL, ...) [default] Success [VC4CL] |
| clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1) |
| Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU |
| Device Name VideoCore IV GPU |
| clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform |
| clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1) |
| Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU |
| Device Name VideoCore IV GPU |
| clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform |
| clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform |
| clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1) |
| Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU |
| Device Name VideoCore IV GPU |
| |
| ICD loader properties |
| ICD loader Name OpenCL ICD Loader |
| ICD loader Vendor OCL Icd free software |
| ICD loader Version 2.3.1 |
| ICD loader Profile OpenCL 3.0 |
| </pre></html></WRAP> |
| </WRAP> |
| |
| ===== ベンチマーク ===== |
| つづく...🤪\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#AFFF00"><b>$</b></font> <font color="#26A269">ll</font> <u style="text-decoration-style:single">/dev/vcio</u> |
| <font color="#AFFF00"><b>$</b></font> <font color="#26A269">ll</font> <u style="text-decoration-style:single">/dev/vchiq</u> |
| <font color="#AFFF00"><b>$</b></font> <font color="#26A269">ll</font> <u style="text-decoration-style:single">/dev/mem</u> |
| </pre></html></WRAP> |
| </WRAP> |
===== 参考文献 ===== | ===== 参考文献 ===== |
[[https://kenny-peng.com/2021/09/14/raspi_zero_opencl.html|Playing with the VideoCore IV GPU on a Raspberry Pi Zero using VC4CL | just for context by Kenny Peng]]\\ | [[https://kenny-peng.com/2021/09/14/raspi_zero_opencl.html|Playing with the VideoCore IV GPU on a Raspberry Pi Zero using VC4CL | just for context by Kenny Peng]]\\ |
[[https://abhitronix.github.io/2019/01/15/VC4CL-1/|VC4CL: Raspberry Pi OpenCL Implementation - AbhiTronix-Verse]]\\ | [[https://abhitronix.github.io/2019/01/15/VC4CL-1/|VC4CL: Raspberry Pi OpenCL Implementation - AbhiTronix-Verse]]\\ |
| |