@fulkrum@qoto.org It's just a mock-up kernel with a dummy inner loop and printf()...

@niconiconi What do you mean by kernel, kernel function on heterogeneous accelerators or operating system kernel?

@fulkrum@qoto.org kernel function, as in "the inner loop of a simulation that most processor cycles are spent on running, possibly runs on an accelerator". I simply deleted all arithmetic statements and replaced all array indexing with printf() to test different N-D array layouts.

@niconiconi @fulkrum
Never underestimate the power of sprinkling printf() through your code.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.