Closed psychocoderHPC closed 4 years ago
The macros in e.g. CUPLA_KERNEL
must be refactored first because they use dim3
which has the same issue that the definition can not be removed.
It looks like I need to clean up first some things.
@psychocoderHPC seems like refactoring of CUPLA_KERNEL
is done, maybe now this PR works?
@psychocoderHPC seems like refactoring of
CUPLA_KERNEL
is done, maybe now this PR works?
I will skip it for the 0.2.0 release, it would require to much testing time.
I will close this PR, with #161 we are able to use cupla without the renaming macro functions.
Currently, it is not possible to undefine the macro which is renaming
uint3
to the cupla equivalent because we useuint3
in the macro to forblockIdx
,ThreadIdx
, ... By adding a two-staged renaming ofuint3
the user is now allowed to undefineuint3
in the user code.This PR is backward compatible.
kernel.hpp
e.g. CUPLA_KERNEL