Search found 11 matches
- Wed Aug 05, 2020 3:42 pm
- Forum: User discussion
- Topic: Compiling MAGMA on Summit with PGI compiler
- Replies: 6
- Views: 1445
Re: Compiling MAGMA on Summit with PGI compiler
The weird part is, MAGMA is correct relative to cuBLAS, but wrong if compared to BLAS. There are also numerous error messages like BLAS : Bad memory unallocation! : 1024 0x2000c0000000 with the pointer address changing every time. Is this an issue with the testing routine, or with OpenBLAS? This co...
- Thu Jun 11, 2020 4:39 pm
- Forum: User discussion
- Topic: Max batch size for dgesv ?
- Replies: 4
- Views: 1230
Re: Max batch size for dgesv ?
The y-dimension has the same limit as the z-dimensions. Some kernels do use the X dimension for batching, but most of our code use the x-y dimensions for thread configurations. Changing that would be cumbersome because of the many kernels MAGMA has. BTW, if you problem size is fixed at 3x3, you can ...
- Thu Jun 11, 2020 12:37 am
- Forum: User discussion
- Topic: Max batch size for dgesv ?
- Replies: 4
- Views: 1230
Re: Max batch size for dgesv ?
Most of the batch kernels in MAGMA use the z-dimension of the kernel grid for batching across different problems. The z-dimension has a hardware limit of 65535. That is why the routine fails. I think that for your particular case, the error comes from dgetrs. The batch dgetrf routine does not have t...
- Thu Oct 03, 2019 12:54 pm
- Forum: User discussion
- Topic: Best solution for solving hundreds of small linear systems
- Replies: 3
- Views: 1303
Re: Best solution for solving hundreds of small linear systems
There is a batch routine for solving many small linear systems (magma_Xgesv_batched), where X specifies the precision (s, d, c, z). The routine applies LU factorization with partial pivoting to the input matrices, followed by a row interchanges step and triangular solves. For very small matrices, th...
- Sat Jul 20, 2019 8:34 pm
- Forum: User discussion
- Topic: [Bug?] spotrf_batched fails for batch size > 524280 and dpotrf_batched fails for batch size > 262140
- Replies: 1
- Views: 1731
Re: [Bug?] spotrf_batched fails for batch size > 524280 and dpotrf_batched fails for batch size > 262140
Most of the MAGMA batched kernels use the z-dimension of the kernel grid for batching across different problems. The maximum value of this dimension is 65535 (a hardware limitation of the GPU itself). Depending on the kernel configuration, a large batch size may lead to exceeding this limit. If you ...
- Thu May 23, 2019 11:11 pm
- Forum: User discussion
- Topic: makefile question when adding a file to magmablas/ directory
- Replies: 6
- Views: 2498
Re: makefile question when adding a file to magmablas/ directory
You should add your new CUDA file to the Makefile.src file under the magmablas subdirectory.
Ahmad
Ahmad
- Thu May 09, 2019 12:58 pm
- Forum: User discussion
- Topic: [BUG, Fixed] (d/s)potrf_batched doesn't send back errors
- Replies: 4
- Views: 2480
Re: [BUG] (d/s)potrf_batched doesn't send back errors
Hi Vishwak, Thank you for reporting this. I have committed a fix for reporting the correct info. Please check it out and let me know. One of the reasons was NaN checking, which was missing from the panel factorization kernel. The way the kernel was written made it encounter NaNs when factorizing a c...
- Wed Apr 24, 2019 4:24 pm
- Forum: User discussion
- Topic: [BUG, Fixed] (d/s)potrf_batched doesn't send back errors
- Replies: 4
- Views: 2480
Re: [BUG] (d/s)potrf_batched doesn't send back errors
Can you please give some details about your specific test case. I have tried some simple tests on my side, which seem to be always detected. Sometimes the value of info is not returned correctly (a non-zero value, but pointing to the wrong column/diagonal) but the routine always catches the error. T...
- Mon Dec 17, 2018 10:01 am
- Forum: User discussion
- Topic: (d/s)getrf_batched doesn't send back errors
- Replies: 4
- Views: 2452
Re: (d/s)getrf_batched doesn't send back errors
Great, thanks for letting us know.
--Ahmad
--Ahmad
- Tue Dec 11, 2018 2:20 pm
- Forum: User discussion
- Topic: (d/s)getrf_batched doesn't send back errors
- Replies: 4
- Views: 2452
Re: (d/s)getrf_batched doesn't send back errors
This should be fixed now if you update your local copy of the repository. Please test on your side and let us know if the issues are gone.
--Ahmad
--Ahmad