Skip to content

Commit

Permalink
Add missing rocm_config.h include to amdgpu_compiler.cc
Browse files Browse the repository at this point in the history
rocm_config.h defines `TF_ROCM_VERSION` which is used in `amdgpu_compiler.cc`.

PiperOrigin-RevId: 634476794
  • Loading branch information
beckerhe authored and Ruturaj4 committed May 17, 2024
1 parent e4ac4a5 commit 7488ace
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xla/service/gpu/amdgpu_compiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ limitations under the License.
#include "tsl/platform/statusor.h"
#include "tsl/platform/threadpool.h"

#if TENSORFLOW_USE_ROCM
#include "rocm/rocm_config.h"
#endif

namespace xla {
namespace gpu {

Expand Down

0 comments on commit 7488ace

Please sign in to comment.