This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 432
'sum_rows' error, when the dimension of tensor is (4,1). #8
Comments
Thanks for reporting the issue. At current point, I am not sure what happens. Does the program successfully reach the end? |
No, there is no output of tensor c. The sum_rows line make program exit suddenly. However, if there is no assignment of this line, the 'b = ' term, the program will not exit. |
hmm, then this could be some bug we overlooked, thanks! |
I believe it is NVIDIA's black magic and we are innocent. #include <cstdio>
#include <errno.h>
#include "cuda.h"
int main() {
float * fp = NULL;
printf("Before: Posix errno %s\n",strerror(errno));
cudaMalloc((void**)&fp, sizeof(16));
printf("After: Posix errno %s\n",strerror(errno));
cudaFree(fp);
} |
I just got the same issue, when sum_rows would just suddenly exit. So just in case someone else encounters it, in my case it turned out that |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This error will occur when assignment operator execution, and the error line seems in this line. The cuda get no error, and posix error string is 'File exists'.
I test this simple program in cuda 5.5 and cuda 6, and they are both error.
The text was updated successfully, but these errors were encountered: