docs: Fix ROCmPackage example syntax (#30168)
This commit is contained in:
parent
f473fd8084
commit
a24070d532
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class of your package. For example, you can add it to your
|
|||
# Set up the hip macros needed by the build
|
||||
args.extend([
|
||||
'-DENABLE_HIP=ON',
|
||||
'-DHIP_ROOT_DIR={0}'.format(spec['hip'].prefix])
|
||||
'-DHIP_ROOT_DIR={0}'.format(spec['hip'].prefix)])
|
||||
rocm_archs = spec.variants['amdgpu_target'].value
|
||||
if 'none' not in rocm_archs:
|
||||
args.append('-DHIP_HIPCC_FLAGS=--amdgpu-target={0}'
|
||||
|
|
Loading…
Reference in a new issue