"First matrix's width must be equal with second matrix's height.");
PADDLE_ENFORCE(platform::is_gpu_place(in1.place())&&platform::is_gpu_place(in2.place())&&platform::is_gpu_place(out->place()),"Matrix must all be in GPUPlace");
"First matrix's width must be equal with second matrix's height.");
PADDLE_ENFORCE(platform::is_gpu_place(in1.place())&&platform::is_gpu_place(in2.place())&&platform::is_gpu_place(out->place()),"Matrix must all be in GPUPlace");