eyalroz / cuda-kat

CUDA kernel author's tools
BSD 3-Clause "New" or "Revised" License
104 stars 8 forks source link

Use __isGlobal() , __isLocal(), __isShared(), __isConstant() #71

Open eyalroz opened 4 years ago

eyalroz commented 4 years ago

The four functions, __isGlobal() , __isLocal(), __isShared(), __isConstant(), are available from CUDA (as of 10.2 it seems) - and we don't need to defined them ourselves under on_device/ptx/. Probably.