scchan added inline comments.

================
Comment at: clang/docs/HIPSupport.rst:82
+===========================
+
+1. **Compiler Options**: If you specify paths using the compiler options, 
these will override the correponding paths set via environment variables. 
----------------
I think it would be easier to understand by explicitly calling out the order of 
precedence:

- For HIP path:
      - --hip-path option
      - HIP_PATH env var
      - --rocm-path option
     - ROCM_PATH env var
     - default automatic detection


-- For device lib:
      - --hip-device-lib-path option
      - HIP_DEVICE_LIB_PATH env var
      - --rocm-path option
      -  ROCM_PATH env var
      - default automatic detection



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154123/new/

https://reviews.llvm.org/D154123

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to