Skip to content

Commit

Permalink
[Rocm] fix arch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruturaj4 committed Nov 5, 2024
1 parent 74b8a6e commit 52d2b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/tsl/third_party/gpus/rocm_configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def _genrule(src_dir, genrule_name, command, outs):
)

def _compute_rocm_extra_copts(repository_ctx, amdgpu_targets):
amdgpu_target_flags = ["--amdgpu-target=" +
amdgpu_target_flags = ["--offload-arch=" +
amdgpu_target for amdgpu_target in amdgpu_targets]
return str(amdgpu_target_flags)

Expand Down

0 comments on commit 52d2b9d

Please sign in to comment.