I am trying to find a way to call a ptx function (.func) from CUDA C. Say I had a ptx function like this:
.func (.reg .s32 %res) inc_ptr ( .reg .s32 %ptr, .reg .
As far as i know, CUDA C supports asm, there is a doc which locate in doc directory after cuda tool kit installed.