You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've noticed that cuasm does not work if I use the on-device printf function.
Here is how to reproduce the issue:
a.cu:
__device__ intfoo(int a, int b) {
int c = a + b;
printf("%d\n", c);
return c;
}
__global__ voidkernel(int *a) {
intindex = threadIdx.x;
a[index] = foo(a[index], a[index]);
}
Sorry, supports for high level features(such as printf/debug/device runtime/dynamic parallelism, etc.) are not guaranteed. Usually their interfaces may subject to change from version to version, thus not that easy to follow.
Hello,
I've noticed that
cuasm
does not work if I use the on-deviceprintf
function.Here is how to reproduce the issue:
a.cu:
Commands:
Output (of the last command):
If I remove the
printf
call everything works fine.The text was updated successfully, but these errors were encountered: