Multiplying two matrices of integers (int 32/64) with MAGMA

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)

Multiplying two matrices of integers (int 32/64) with MAGMA

Postby liliesiu » Sun May 01, 2016 4:32 am

Is there any implementation for multiplying matrices of int32s or int64s using MAGMA? (I couldn't find it in the documentation.) I am using this for an application in which I really have no use for the exponent of floats and it would thus really make sense to just use integers. Thank you!
liliesiu
 
Posts: 1
Joined: Sun May 01, 2016 4:27 am

Re: Multiplying two matrices of integers (int 32/64) with MA

Postby mgates3 » Sun May 01, 2016 9:33 am

No. You could create one from the existing code in:

magmablas/sgemm_fermi.cu
magmablas/sgemm_fermi_kernels.h
magmablas/gemm_stencil_defs.h
magmablas/gemm_stencil.h

It uses a generic stencil, with defines & typedefs gemm_stencil_defs.h controlling what precision is generated. Add a new case for integer. I would call it "igemm".

-mark
mgates3
 
Posts: 750
Joined: Fri Jan 06, 2012 2:13 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron