docs: Fix ROCmPackage example syntax (#30168)
This commit is contained in:
		| @@ -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}' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ken Raffenetti
					Ken Raffenetti