Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI think the linker script is only needed when several files are involved. Even a named section is created? how to guarantee the host does not use the section when calling device malloc function?
--- Quote Start --- You might want to put the data into a named section and get the linker script(s) to assign it to a fixed address. --- Quote End --- According to the Altera SDK for OpenCL Programming Guide", the atomic operation is supported, is it true? --- Quote Start --- Also there are no atomic RMW cycles on the Avalon bus, so you need to use something else to ensure correct sequencing of accesses. --- Quote End --- If the kernel will write to/read from the DDR directly and sequentially, the coherence will preserve? --- Quote Start --- You'll need to worry about cache coherenceny. --- Quote End ---