CUDA: remove -sm row, refactor cuBLAS (#24216)