add memalloc options to client (gemm and trsm)