Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Update src/interface/blas2/backend/default.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: HJA Bird <[email protected]>
  • Loading branch information
s-Nick and hjabird committed May 15, 2024
1 parent dbc5002 commit 6a91a46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interface/blas2/backend/default.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ typename sb_handle_t::event_t _trsv(
container_t1 _vx, increment_t _incx,
typename sb_handle_t::event_t _dependencies) {
const auto device = sb_handle.get_queue().get_device();
const std::string vendor =
device.template get_info<sycl::info::device::vendor>();
if (device.is_gpu()) {
const std::string vendor =
device.template get_info<sycl::info::device::vendor>();
if (vendor.find("Intel") == vendor.npos) {
return blas::internal::_trsv_impl<32, 4, uplo, trn, diag>(
sb_handle, _N, _mA, _lda, _vx, _incx, _dependencies);
Expand Down

0 comments on commit 6a91a46

Please sign in to comment.