parameters: (cflags)
return_statement: return cflags
docstring: For ROCm platform, amdgpu target should be added for HIPCC.
docstring_summary: For ROCm platform, amdgpu target should be added for HIPCC.
docstring_tokens: For ROCm platform amdgpu target should be added for HIPCC .
function: def get_rocm_arch_flags(cflags):
      """
      For ROCm platform, amdgpu target should be added for HIPCC.
      """
      cflags = cflags + ['-fno-gpu-rdc', '-amdgpu-target=gfx906']
      return cflags
function_tokens: def get_rocm_arch_flags ( cflags ) : cflags = cflags + [ '-fno-gpu-rdc' , '-amdgpu-target=gfx906' ] return cflags