CulaDeviceSsyevx
5 posts
• Page 1 of 1
CulaDeviceSsyevx
hi everyone, I just have some questions about the parameters of the device function like CulaDeviceSsyevx(jobz, evrange, uplo, n, A, lda, vl, vu, il, iu, abstol, m, W, Z, ldz, ifail). i'm not sure which of the parameters should be from the variables in the device. it's not very clear in the documents.
In my code, i used the A, W, Z as from the device and the other parameters are from host. But that just got an error as "CUDA Error: invalid argument".
In my code, i used the A, W, Z as from the device and the other parameters are from host. But that just got an error as "CUDA Error: invalid argument".
- yukyhaha
- Posts: 1
- Joined: Wed Jan 18, 2012 3:29 pm
Re: CulaDeviceSsyevx
If you call culaGetErrorInfo, it will tell you which parameter contains the error. That's probably the best place to start.
- john
- Administrator
- Posts: 587
- Joined: Thu Jul 23, 2009 2:31 pm
Re: CulaDeviceSsyevx
I'm getting the same error from CulaDeviceGesvd. This is different than a bad parameter to CULA; that reports something like:
"Argument 11 is invalid (see the Reference Manual for more information)"
This one is reporting
"CUDA Error: invalid argument (see Programmer's Guide)"
and I don't know where to look for the answer.
"Argument 11 is invalid (see the Reference Manual for more information)"
This one is reporting
"CUDA Error: invalid argument (see Programmer's Guide)"
and I don't know where to look for the answer.
- v7kubkzs
- Posts: 6
- Joined: Fri Aug 17, 2012 8:32 pm
Re: CulaDeviceSsyevx
So, this error 11 apparently maps to cudaErrorInvalidValue, which still doesn't help me determine how/whether I'm calling CULA incorrectly.
- v7kubkzs
- Posts: 6
- Joined: Fri Aug 17, 2012 8:32 pm
Re: CulaDeviceSsyevx
This means your 11th parameter to GESVD has a problem, which points to LDVT. If you check the API Reference, you'll see that the size of VT (and therefore LDVT) are dependent on the job codes you supplied.
- john
- Administrator
- Posts: 587
- Joined: Thu Jul 23, 2009 2:31 pm
5 posts
• Page 1 of 1
Return to General CULA Discussion
Who is online
Users browsing this forum: No registered users and 1 guest