Forum Discussion
Altera_Forum
Honored Contributor
11 years agoError when specifying max work group size
Hi everyone, I just find out that whenever I try to add max_work_group_size(X, Y, Z) attribute to a kernel I get the following error: "error: attribute takes one argument" Not even th...
Altera_Forum
Honored Contributor
11 years agoHi,
the syntax of the attribute should be __attribute__((max_work_group_size(SIZE)),so just one argument as the compiler error suggested. Cheers, Sergio