OpenCL Compiler goes out of memory, gives compiler error
I am using OpenCL SDK 15.1 When Compiling a kernel code with unrolled loops or more than 1 compute unit, the quartus-syn or quartus-fit processes go out of memory, and then get killed by kernel. The aoc compilation shows only " Error: Compiler Error, not able to generate hardware " However, Kernel logs show messages like this: [973723.193395] Out of memory: Kill process 16459 (quartus_fit) score 777 or sacrifice child [973723.193397] Killed process 16459 (quartus_fit) total-vm:27843056kB, anon-rss:25395088kB, file-rss:32kB OR 964485.313183] Out of memory: Kill process 9657 (quartus_syn) score 504 or sacrifice child [964485.313186] Killed process 10039 (quartus_syn) total-vm:3895556kB, anon-rss:2377260kB, file-rss:0kB My CPU info is : Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz cpu core: 6 Available RAM is 32 GB. The problem does not arise while compiling code without# pragma unroll N and only one compute unit. Please post if you know any work-around this problem. Thank you!