Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions projects/rocblas/library/src/tensile_host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1266,17 +1266,14 @@ template <typename Ti, typename To, typename Tc>
bool useHipBLASLt(const RocblasContractionProblem<Ti, To, Tc>& prob)
{
#ifdef BUILD_WITH_HIPBLASLT
if constexpr(sizeof(Ti) >= 4)
if constexpr(sizeof(Ti) != 2)
{
if(!prob.handle->isHipBLASLtForcedOn())
{
// gfx950: hipBLASLt is used for all types except complex.
// TODO remove after complex support is enabled
if constexpr(rocblas_is_complex<Ti>)
{
if(rocblas_internal_get_arch(prob.handle) == 950)
return false; // complex won't default to hipBLASLt
}
// gfx950: hipBLASLt is used only for fp16/bf16
// TODO remove after all types are supported
if(rocblas_internal_get_arch(prob.handle) == 950)
return false;
}
}

Expand Down
Loading