Hi, now I got a problem and don't know where to look at....
It says:
Error: Compiler Error, not able to generate hardware
here are some details..please have a look, and tell me what to do or where to look at...
..
Terasic DE5Net OpenCL BSP 16.1 / 8 Core 16GB Host,Windows 10 x64
I can't combile my OpenCL.cl until end,
Hardware, Software, Drivers ans Path Variables ...seems ok...but you never know
I could need some advice an any clue :)
hello_world and vector_add comiled OK
my first own hello world worked fine
Code:
E:\altera\OpenCL>aoc --list-boards
Board list:
de5net_a7
Code:
E:\altera\OpenCL>aocl diagnose acl0
aocl diagnose: Running diagnostic from E:\altera\16.1\hld\board\de5net16.1/windows64/libexec
Verified that the kernel mode driver is installed on the host machine.
Using platform: Altera SDK for OpenCL
Using Device with name: de5net_a7 : Terasic's Preferred Board
Using Device from vendor: Terasic Corporation
clGetDeviceInfo CL_DEVICE_GLOBAL_MEM_SIZE = 4294967296
clGetDeviceInfo CL_DEVICE_MAX_MEM_ALLOC_SIZE = 4293918720
Memory consumed for internal use = 1048576
Actual maximum buffer size = 4293918720 bytes
Writing 4095 MB to global memory ...
Write speed: 1281.97 MB/s [1270.64 -> 1292.75]
Reading and verifying 4095 MB from global memory ...
Read speed: 1440.19 MB/s [1438.94 -> 1440.95]
Successfully wrote and readback 4095 MB buffer
Transferring 8192 KBs in 16 512 KB blocks ... 882.76 MB/s
Transferring 8192 KBs in 8 1024 KB blocks ... 1010.60 MB/s
Transferring 8192 KBs in 4 2048 KB blocks ... 1224.59 MB/s
Transferring 8192 KBs in 2 4096 KB blocks ... 1320.80 MB/s
Transferring 8192 KBs in 1 8192 KB blocks ... 1342.77 MB/s
PCIe Gen2.0 peak speed: 500MB/s/lane
Writing 8192 KBs with block size (in bytes) below:
Block_Size Avg Max Min End-End (MB/s)
524288 688.91 727.15 584.17 680.89
1048576 896.36 928.95 794.87 888.06
2097152 1060.30 1090.68 1040.20 1055.01
4194304 1133.18 1140.87 1125.60 1131.85
8388608 1155.83 1155.83 1155.83 1155.83
Reading 8192 KBs with block size (in bytes) below:
Block_Size Avg Max Min End-End (MB/s)
524288 791.50 882.76 578.99 780.42
1048576 916.96 1010.60 829.17 911.15
2097152 1188.68 1224.59 1109.91 1183.89
4194304 1316.73 1320.80 1312.69 1312.16
8388608 1342.77 1342.77 1342.77 1342.77
Write top speed = 1155.83 MB/s
Read top speed = 1342.77 MB/s
Throughput = 1249.30 MB/s
DIAGNOSTIC_PASSED
Code:
E:\altera\OpenCL>aoc --version
Altera SDK for OpenCL, 64-Bit Offline Compiler
Version 16.0.2 Build 222
Copyright (C) 2016 Altera Corporation
Code:
E:\altera\OpenCL>aoc -v kernel.cl
aoc: Environment checks are completed successfully.
You are now compiling the full flow!!
aoc: Selected default target board de5net_a7
aoc: Running OpenCL parser....
aoc: OpenCL parser completed successfully.
aoc: Compiling....
aoc: Linking with IP library ...
+--------------------------------------------------------------------+
; Estimated Resource Usage Summary ;
+----------------------------------------+---------------------------+
; Resource + Usage ;
+----------------------------------------+---------------------------+
; Logic utilization ; 43% ;
; ALUTs ; 24% ;
; Dedicated logic registers ; 20% ;
; Memory blocks ; 30% ;
; DSP blocks ; 6% ;
+----------------------------------------+---------------------------;
aoc: First stage compilation completed successfully.
Error: Compiler Error, not able to generate hardware
qoc 1'st stage ..OK..1 CPU Core ~ about 1 min
quertus_map ..OK..8 CPU Cores ~ about 7GB RAM 30 min
quertus_cdb ..OK..1 CPU Core ~ about 2GB RAM 10 min
quertus_fit ..ERROR..1 CPU Core ~ about 2GB RAM 5 min
kernel_log
Code:
2018.01.18.19:26:10 Info: system: Done "system" with 170 modules, 550 files
quertus_sh_compile
Code:
Info: Quartus Prime Analysis & Synthesis was successful. 0 errors, 665 warnings
Info: Peak virtual memory: 8145 megabytes