- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
when i run the command "aoc -c -g kernel.cl --report ", i met an error like this :
" system_integrator: hdl.cpp:459: hdl::Signal1::Dimension::Dimension(int, int): Assertion `size > 0' failed.". who can tell me the reason for showing this error and how to slove it? thank you!Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do not name your .cl OpenCL kernel source file "kernel". Naming the source file kernel.cl causes theAOC to generate intermediate design files that have the same names as certain internal files, whichleads to an compilation error.
Quoted from <<altera sdk for openclprogramming guide (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/hb/opencl-sdk/aocl_programming_guide.pdf)>> (Page 1-14)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page