test dgemm_ function and Torch7