Forum Discussion
Altera_Forum
Honored Contributor
8 years ago#pragma ivdep seems not work
Hello, I have a opencl kernel, like this: kernel void test() { float array[100]; # pragma ivdep do { chann_data addr = read_channel_altera...
Altera_Forum
Honored Contributor
8 years ago"#pragma ivdep" is for load/store dependencies on "global" variables, not local ones. The compiler is very accurate in detecting dependencies on local variables (I haven't seen any false-positives). You seem to be using indirect addressing on your local variable, that is the reason for your load/store dependency.