.. meta::
   :description: Code sample demonstrating the use of the hipBLASLt library
   :keywords: hipBLASLt, ROCm, library, API, code sample

.. _sample_hipblaslt_ext_op_amax:

*********************************************
Absolute maximum value of a 2D Tensor
*********************************************

This code sample from ``clients/samples/23_hipblaslt_ext_op_amax/sample_hipblaslt_ext_op_amax.cpp`` finds the absolute maximum value of a 2D tensor.

.. literalinclude:: ../../clients/samples/23_hipblaslt_ext_op_amax/sample_hipblaslt_ext_op_amax.cpp
   :language: c++
