doe300 / VC4C

Compiler for the VC4CL OpenCL implementation
MIT License
117 stars 37 forks source link

Build instructions and initialization fix (tests) #141

Closed pfoof closed 4 years ago

pfoof commented 4 years ago

Added a tip for compilation in Readme. GCC 8.3 hangs on TestConversionFunctions when compiled with more than one thread. The compilation can be simply interrupted when this file is being processed and continued with make -j 1.

emulator_helper.h throws compilation warning/error. However, setting the suggested flag doesn't work thus I added output.fill(0);. Apparently this "initializes".

doe300 commented 4 years ago

On the Raspberry Pi, compilation with more than (for me usually 2) parallel processes runs out of memory, so yes, we should add a warning.

pfoof commented 4 years ago

Changed from fill to {0}.

doe300 commented 4 years ago

Thanks for the changes.