Fix test code that confuses AMD compiler.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
Fix test cases that are rejected by smart index checking.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
AMD driver doesn't accept kernel arguments of type size_t.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>