ROCm / Tensile

Stretching GPU performance for GEMMs and tensor contractions.
MIT License
220 stars 149 forks source link

Call min with matching types #2003

Closed bstefanuk closed 2 months ago

bstefanuk commented 3 months ago

Summary:

A build failure has been created in Tensile while fixing a compiler bug related to the min function in the LLVM project. The issue arises from a call to min(unsigned long, int) in ContractionSolution.cpp. The compiler now only defines multiple functions that don't require an implicit case, but none match this specific signature.

Outcomes:

This change modifies the problematic line to use an explicit cast when invoking min such that min(unsigned long, unsigned long) is called.

Testing and Environment: