Closed fwyzard closed 1 month ago
I'm starting to hate Visual Studio...
D:\a\alpaka\alpaka\test\unit\exec\src\Once.cpp(133): FAILED:
REQUIRE( *status == true )
with expansion:
true == true
@psychocoderHPC all CI tests are finally happy... I can go on vacation :-)
Sorry to comment on a merged PR, was there any reason why makeWorkDiv()
was put in test/unit/exec/src
? It seems like a useful interface
The current implementation makes some assumptions on how to us thread and elements. I have no problem moving it to a central place, but I don't know what @psychocoderHPC and @SimeonEhrig think of it.
I noticed it also doesnt check if the work div is valid, correct? because elements
can be greater than maxThreadsPerBlock
It's certainly possible.
Implement device functions to simplify writing kernel code:
oncePerGrid(acc)
;oncePerBlock(acc)
;uniformElements(acc, size)
anduniformElements(acc, begin, end)
;uniformGroups(acc, size)
anduniformGroupElements(acc, group, size)
;independentGroups(acc, groups)
andindependentGroupElements(acc, group_size)
;Implement tests for the most common functions.