Multiplying two matrices of integers (int 32/64) with MAGMA
Multiplying two matrices of integers (int 32/64) with MAGMA
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!
Re: Multiplying two matrices of integers (int 32/64) with MA
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
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