Forum Discussion
NSriv2
New Contributor
7 years agoHow to tell the compiler that store operations are not dependent?
Hi, I am trying to compile the following kernel using aoc 18.0 __kernel void C_unloader (
const int num_elems,
__global int* restrict C,
__local int16* __shared
) {
bool read_success[SYS...
HRZ
Frequent Contributor
7 years agoivdep working for for but not while is unexpected. Either way, indirect addressing is going to result in poor performance on any hardware but things will be worse on FPGAs since there is no cache hierarchy. The amount of performance degradation will depend on ratio of memory accesses to compute in your algorithm. If your algorithm is memory-intensive, then performance is going to suffer greatly from indirect addressing and lack of memory access coalescing.