Search found 23 matches

by bravegag
Fri Aug 09, 2013 12:22 pm
Forum: User discussion
Topic: flop count for ?gesvd
Replies: 2
Views: 1609

Re: flop count for ?gesvd

Thank you! Instrumenting with PAPI would be an overkill for the moment so I think I will stick to the approximate (kind of ceil) flop count that you mention. btw This is the the relevant code in the benchmark project: https://github.com/bravegag/eigen-magma-benchmark/blob/master/src/main/cpp/benchma...
by bravegag
Fri Aug 09, 2013 8:28 am
Forum: User discussion
Topic: flop count for ?gesvd
Replies: 2
Views: 1609

flop count for ?gesvd

Hello, I was looking for the actual flop count corresponding to ?gesvd but could not find it in the usual places. I also noticed it is not provided in e.g. testings_dgesvd. I assume the flop count for ?gesvd would be worst case and according to the Golub book and when computing U and V about: 14mn^2...
by bravegag
Thu Aug 08, 2013 10:03 am
Forum: User discussion
Topic: Eigen MAGMA backend implementation project
Replies: 10
Views: 9893

Re: Eigen MAGMA backend implementation project

Quick update, I have additionally implemented: - dgemv (matrix vector multiplication) - dtrsm (triangular matrix solver) - dpotrf (Cholesky decomposition) The results are very disappointing, unless I have bugs (e.g. copying Host <-> Device more memory than needed ) MAGMA overall and taking into acco...
by bravegag
Thu Jul 25, 2013 1:13 pm
Forum: User discussion
Topic: Eigen MAGMA backend implementation project
Replies: 10
Views: 9893

Re: Eigen MAGMA backend implementation project

I have created a simple benchmark project to check the implementation:
https://github.com/bravegag/eigen-magma-benchmark

I have added documentation including the Gflops results for DGEMM and DGEQP3 so far implemented.
by bravegag
Thu Jul 25, 2013 5:01 am
Forum: User discussion
Topic: Eigen MAGMA backend implementation project
Replies: 10
Views: 9893

Eigen MAGMA backend implementation project

Hello, I have "created a fork" of Eigen 3.2 and incorporated some (small) progress I have preparing a MAGMA backend to best exploit GPU & CPU. This is an alternative to using MKL which indirectly uses MKL because MAGMA does use MKL in the back. I have been testing it using MAGMA 1.4.0-beta2 and so f...
by bravegag
Wed Jul 24, 2013 11:04 am
Forum: User discussion
Topic: magma_dgeqp3_gpu CUDA runtime error in 1.4.0-beta2
Replies: 0
Views: 1245

magma_dgeqp3_gpu CUDA runtime error in 1.4.0-beta2

Hello, I have MAGMA 1.4.0-beta2 and a GPU (Titan GTX) with capability 3.5 and CUDA/CUBLAS 5.0. I'm also compiling with defines: -DADD_ -DHAVE_CUBLAS -DMAGMA_WITH_MKL -DMAGMA_SETAFFINITY -DGPUSHMEM=300 I run tests in my project using magma_dgeqp3_gpu and everything works fine. However, when I run my ...
by bravegag
Tue Jul 23, 2013 8:09 am
Forum: User discussion
Topic: undefined reference to symbol 'cudaStreamCreate'
Replies: 0
Views: 2013

undefined reference to symbol 'cudaStreamCreate'

Hello, I have a CMake project and use Intel MKL, CUDA, CUBLAS and now MAGMA. I am basically trying to use MAGMA as backend for Eigen and already have the first Eigen-MAGMA MMM product integration to test. However I end up with the following error: /usr/bin/ld: /usr/local/cuda-5.0/lib64/libcublas.so:...
by bravegag
Fri Jul 19, 2013 9:37 am
Forum: User discussion
Topic: is there a FindMAGMA.cmake ?
Replies: 2
Views: 1018

Re: is there a FindMAGMA.cmake ?

Meantime I am working in a super simple implementation as shown here:
http://stackoverflow.com/questions/1774 ... he-library
by bravegag
Fri Jul 19, 2013 9:08 am
Forum: User discussion
Topic: is there a FindMAGMA.cmake ?
Replies: 2
Views: 1018

is there a FindMAGMA.cmake ?

Hello,

I don't want to reinvent the wheel, is there a FindMAGMA.cmake somewhere?

Thanks in advance,
Best regards,
Giovanni
by bravegag
Thu Jun 20, 2013 12:32 am
Forum: User discussion
Topic: testing_dgemm "can not bind to texture"
Replies: 3
Views: 2115

Re: testing_dgemm "can not bind to texture"

Thank you again! ;) Now it comes back much better ... how about those nans in the output? bravegag@Zeus:~/Downloads/magma-1.3.0/testing$ ./testing_dgemm MAGMA 1.3.0 device 0: GeForce GTX 670, 1084.5 MHz clock, 2047.7 MB memory, capability 3.0 Usage: testing_dgemm [-NN|NT|TN|TT] [-N 1024] Testing tra...