diff --git a/src/targets/gpu/compile_hipblaslt.cpp b/src/targets/gpu/compile_hipblaslt.cpp index 8dd9435f83c..371370eb8ee 100644 --- a/src/targets/gpu/compile_hipblaslt.cpp +++ b/src/targets/gpu/compile_hipblaslt.cpp @@ -21,6 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + +#if MIGRAPHX_USE_HIPBLASLT #include #include #include @@ -100,3 +102,4 @@ void compile_hipblaslt::apply(module& m) const } // namespace gpu } // namespace MIGRAPHX_INLINE_NS } // namespace migraphx +#endif // MIGRAPHX_USE_HIPBLASLT