[BE] Use convenience function (#106709)
Rather than typing `TORCH_CUDABLAS_CHECK(cublasLtMatmulDescSetAttribute(desc.descritor, attr, &value, sizeof(value))` introduce template method `setAttribute` that does the same
Pull Request resolved: https://github.com/pytorch/pytorch/pull/106709
Approved by: https://github.com/Skylion007
ghstack dependencies: #106708