gpuMatMult             package:gputools             R Documentation

_P_e_r_f_o_r_m _M_a_t_r_i_x _M_u_l_t_i_p_l_i_c_a_t_i_o_n _w_i_t_h _a _G_P_U

_D_e_s_c_r_i_p_t_i_o_n:

     Performs matrix multiplication using a GPU.  This function is
     merely a  couple of wrappers for the CUBLAS cublasSgemm function.

_U_s_a_g_e:

             gpuMatMult(a, b)

_A_r_g_u_m_e_n_t_s:

       a: a matrix of floating point values.

       b: a matrix of floating point values.

_V_a_l_u_e:

     A matrix of single precision floating point values. The matrix is
     just the product of arguments 'a' and 'b'.

_E_x_a_m_p_l_e_s:

     matA <- matrix(runif(2*3), 2, 3)
     matB <- matrix(runif(3*4), 3, 4)
     gpuMatMult(matA, matB)

