İşleme Grafiği

229 İşleme

Yazar SHA1 Mesaj Tarih
Payam 7e9ece1a25 updated hipcc to include HSA path for clang builds as well
Change-Id: Icaaa68fdbe79fb16e4e9fedd420460f1479d7fe0


[ROCm/hip commit: b95968187b]
2020-02-13 16:48:24 -05:00
mhbliao 63ccc49116 [hip] Cleanup compiler wrapper for HIP-Clang. (#1847)
[ROCm/hip commit: a01b262660]
2020-02-07 13:28:26 -08:00
Michael LIAO b851e564f4 [hipcc] Skip warning on gfx000.
- The known target checking should skip `gfx000` as well as it won't be
  used in real compilation command formation. The avoid generating
  annoying warning on `gfx000`.


[ROCm/hip commit: 66678b0170]
2020-02-06 17:09:14 -05:00
Siu Chi Chan b93eb89b37 Enable code object v3 codgen when compiling with HCC (#1836)
Change-Id: I590c05a418cc37ec247b89124cef17a7fe8b27e2

[ROCm/hip commit: 93e62401c7]
2020-02-05 20:56:33 +05:30
kpyzhov 17ea5021ed hipcc script: Refined device selection; added gfx1011 target. (#1821)
[ROCm/hip commit: af118b98d2]
2020-02-04 08:56:16 +05:30
paulfreddy e47b0a4152 Changes for multiple ROCm installation (#1771)
* FBA-29, FBA-69, multiple rocm support, shared library conflicts
Changes to resolve:
1) Multiple rocm release installation support
2) Multiple rocm shared lib conflicts
3) Add the so versioning also

[ROCm/hip commit: 3bc69394d0]
2020-01-21 14:17:35 +05:30
Rahul Garg 86dbb13897 Fix hipcc warning related to hipVersion (#1767)
* Fix hipcc warning related to hipVersion
* Rename hipVersion.h to hip_version.h
* Remove HIP_VERSION splitting
* Update .gitignore
- Ignore generated include/hip/hip_version.h
- Removed some stale entries
- Added executables from samples/1_Utils/*/ for consistency with bin/ entries.

[ROCm/hip commit: f3cafd5855]
2020-01-06 12:33:23 +05:30
Sarbojit2019 6d2ec032fe Change to generate hipVersion.h (#1726)
HIP_VERSION_MAJOR, HIP_VERSION_MINOR, HIP_VERSION_PATCH and HIP_VERSION pre-processor macros are now defined in hipVersion.h instead of being set by hipcc.

[ROCm/hip commit: aa4aea0754]
2019-12-30 12:44:24 +05:30
Rahul Garg 80ee1cc5a5 Merge pull request #1550 from yxsamliu/new-launch
Add -fhip-new-launch-api to hipcc for HIP/VDI

[ROCm/hip commit: 1fd16d7601]
2019-10-17 19:07:32 -07:00
Rahul Garg d3a40b7b2e Revert "hipcc defaults to code object v3 (#1298)"
This reverts commit 7dbc574a4b.


[ROCm/hip commit: 5f37f3174a]
2019-10-17 13:27:28 -04:00
kpyzhov cba73a44ef [hipcc] Temporary add -D_OPENMP to clang options to workaround cmake issue (#1540)
* Temporary add -D_OPENMP to clang options in hipcc to allow using CMake OpenMP detection with hip-clang (until updated CMake version is available).

[ROCm/hip commit: 596bf4e326]
2019-10-16 10:51:28 +05:30
Yaxun (Sam) Liu 73763f8748 Add -fhip-new-launch-api to hipcc for HIP/VDI
[ROCm/hip commit: 4d5cb8351c]
2019-10-15 21:47:33 -04:00
srinivamd fe7c030148 remove dependencies on /opt/rocm path (#1379)
* remove hard coded dependencies on /opt/rocm path

[ROCm/hip commit: 908e14d176]
2019-10-10 19:56:55 +05:30
Maneesh Gupta 7dbc574a4b hipcc defaults to code object v3 (#1298)
Change-Id: I272ec61090fa504d631fb54371a73dd6fd17a167

[ROCm/hip commit: d39a2a0749]
2019-10-04 13:35:21 +05:30
Yaxun (Sam) Liu 8aca7f3e25 Do not change opt level for -g for hip-clang (#1369)
Currently hipcc uses -O3 for hip-clang by default but uses -O0 if -g is used. This
causes surprise for users since -g should not affect default opt level.

[ROCm/hip commit: b046ec698b]
2019-08-29 01:03:11 +00:00
Sarbojit2019 3f704a3303 [hipcc] Fix for uninitialized variables on nvcc path
Fixes #1186

[ROCm/hip commit: 938502dfcb]
2019-08-20 12:06:22 +00:00
Maneesh Gupta b58887c33d Bump HIP version (#1311)
- Match HIP version with upcoming ROCm version
- Add githash to version string

[ROCm/hip commit: 3ccddcde25]
2019-08-09 12:13:29 +00:00
Maneesh Gupta 227060fada Merge pull request #1305 from ROCm-Developer-Tools/fix-hip-vdi-include-clang
Fix HIP-VDI using incorrect include files

[ROCm/hip commit: ce7469ba20]
2019-08-08 08:28:20 +00:00
Aaron Enye Shi 7272379649 Fix HIP-VDI using incorrect include files
When HIP-VDI depends on an llvm-amdgpu package, the include clang directory is not properly assessed.

[ROCm/hip commit: 80a3897f9e]
2019-08-07 16:59:17 -04:00
David Rohr a2e61f597e Treat .cxx files like .cpp files
[ROCm/hip commit: a90310162d]
2019-08-07 19:11:35 +02:00
Yaxun (Sam) Liu 76ea65c212 Fix -std=c++14 for windows
[ROCm/hip commit: f467cb850e]
2019-07-31 16:36:47 -04:00
Aaron Enye Shi 2e45e37c51 Add GFX908 specific changes to HIP (#1229)
* Add GFX908 specific for HIP

* Fix missing __halfTest in hipTestNativeHalf


[ROCm/hip commit: b754de37c1]
2019-07-24 07:51:17 +00:00
Yaxun (Sam) Liu 296d1606f2 Add amdgpu targets gfx1010 and gfx1012 (#1211)
[ROCm/hip commit: 2b5ff1678a]
2019-07-12 03:13:35 +00:00
Michael LIAO 49fce7ba8a [hipcc] Revise include path calculation.
- Once HIP_VDI_HOME is defined but HIP_CLANG_INCLUDE_PATH is not,
  calculate it directly without HIP_CLANG_PATH is defined or not;
  Otherwise, we may leave HIP_CLANG_INCLUDE_PATH undefined, if clang is
  not installed following the official way (so far, HIP-Clang breaks
  that), we may leave HIP_CLANG_INCLUDE_PATH undefined before its uses.


[ROCm/hip commit: e32940357f]
2019-06-14 13:35:00 -04:00
Yaxun Sam Liu d1ffde1c66 Fix default HIP_VDI_HOME
There is soft link /opt/rocm/bin/.hipVersion, therefore when hipcc is executed
as /opt/rocm/bin/hipcc, it will set HIP_VDI_HOME to /opt/rocm, which is
incorrect. Check ../lib/bitcode instead to identify HIP_VDI_HOME.


[ROCm/hip commit: 71f6bf4e67]
2019-05-31 23:58:59 -04:00
Konstantin Pyzhov 8b61e3c467 Fixed setting HIP_CLANG_PATH on Windows.
[ROCm/hip commit: ee1d0efdf6]
2019-05-28 09:38:17 -04:00
Yaxun (Sam) Liu e403db242a Fix hipcc for hip-clang. (#1143)
* Fix hipcc for hip-clang.

If there is -g, do not add -O3 by default.
If HIP_VDI_HOME is not set, set HIP_VDI_HOME based on hipcc directory for HIP/VDI runtime.
For HIP/VDI runtime, set HIP_CLANG_PATH and DEVICE_LIB_PATH based on HIP_VDI_HOME only if they exist.

This allows using HIP/VDI runtime with hip-clang installed at /opt/rocm/llvm and device lib installed
at /opt/rocm/lib.

* Fix HIP_VDI_HOME for hipcc called from /opt/rocm/bin


[ROCm/hip commit: e17f94e080]
2019-05-28 09:40:34 +05:30
Maneesh Gupta da977db4df Merge pull request #1136 from yxsamliu/fix-rdc
Fix device lib path for hip-clang.

[ROCm/hip commit: 43e2c9d361]
2019-05-24 14:16:30 +05:30
Yaxun Sam Liu 320676a2e3 Fix device lib path for hip-clang.
We now always need device lib path when compiling and not need it at linking.


[ROCm/hip commit: bba85f0e24]
2019-05-23 15:11:02 -04:00
Aaron Enye Shi bce37a03b8 Fix hipcc exit code when failing
[ROCm/hip commit: 20ea7e9d26]
2019-05-16 20:36:58 +00:00
Michael LIAO 448be14118 [hipcc] Repace --rpath with --rpath-link
- With `--rpath`, app's RUNPATH is set to the temporary library path
  during build. Instead, `--rpath-link` should be used to leave RUNPATH
  untouched. User should set LD_LIBRARY_PATH or system ld.so.conf to
  proper setting.


[ROCm/hip commit: 7f8b80103d]
2019-04-29 16:01:16 -04:00
Aaron Enye Shi 62e96cb4cf Revert "Use COMgr to read Kernel Args Metadata (#1006)"
This reverts commit 882006555b.


[ROCm/hip commit: a3d118eaa8]
2019-04-26 16:04:56 -04:00
Aaron Enye Shi 882006555b Use COMgr to read Kernel Args Metadata (#1006)
* Add CMAKE dep to amd_comgr

* Use COMGR for read_kernarg_metadata in COV2

* Do not assume kernargs exist

* Add proper metadata destroy cleanup

* Use a process function for easier destroy

* Remove old read_kernarg_metadata

* Clean up HCC, prints, names

* Use COMGR in CMAKE by default

* Move metadata lookup for keyword values into helper

* Remove C string usage for lookup_keyword_value

* Guard COMGR for non-NVCC path

* Add hip_hcc dependency on comgr package

* Add lifetime to metadata nodes

* Find COMGR config file for amd_comgr target

* Move set_active data earlier


[ROCm/hip commit: 8a548bf40b]
2019-04-16 08:34:39 +05:30
Yaxun (Sam) Liu cc4acbdd08 hip-clang: fix hipcc options
Use -O3 for default optimization level.
Fix --hip-device-lib-path for warnings about unused option.


[ROCm/hip commit: a31036ab74]
2019-04-09 22:31:13 -04:00
Yaxun (Sam) Liu 0f62034e00 hip-clang: add include path for hsa headers
[ROCm/hip commit: c0e0ea9a12]
2019-04-09 15:01:50 -04:00
Yaxun Sam Liu 8d6e48820f Change HIP dll name to amdhip64.dll on Windows
[ROCm/hip commit: e2bf34cd5e]
2019-03-19 16:27:18 -04:00
Yaxun Sam Liu d9f59b18f8 Revert "hipcc should consume -mcode-object-v3 flag"
This reverts commit 1a8b50e63c.


[ROCm/hip commit: e8556388f9]
2019-02-28 11:21:47 -05:00
Yaxun Sam Liu e748fd2ae0 Revert "Change code-object flag to only HIP-Clang"
This reverts commit 17a853c277.


[ROCm/hip commit: 1bd8d24278]
2019-02-28 11:20:04 -05:00
Yaxun Sam Liu f46d2a3010 Revert "Consume the code obj args to prevent duplicates"
This reverts commit b19e4b5b63.


[ROCm/hip commit: 737972d31c]
2019-02-28 11:19:35 -05:00
Aaron Enye Shi b19e4b5b63 Consume the code obj args to prevent duplicates
[ROCm/hip commit: 2cd34f3c01]
2019-02-19 17:02:27 +00:00
Maneesh Gupta 7094c2d28d Initialize HIP_LIB_PATH on hcc path
Change-Id: I8f392fffcd6a3714c20cb17e876dbaad999c33a0


[ROCm/hip commit: c8579ead67]
2019-02-13 09:57:21 +05:30
Maneesh Gupta 4441aff847 Merge pull request #910 from aaronenyeshi/hip-code-obj-v3-passing
hipcc should consume -mcode-object-v3 flag

[ROCm/hip commit: d91bbf881c]
2019-02-13 08:58:19 +05:30
Aaron Enye Shi 17a853c277 Change code-object flag to only HIP-Clang
[ROCm/hip commit: 1c6365fbe7]
2019-02-11 17:18:12 +00:00
Maneesh Gupta 9ab6e7b7f6 Merge pull request #911 from lmoriche/hip_clang
Allow HIP_LIB_PATH to be overriden at the command line. Use HIP_LIB_P…

[ROCm/hip commit: 31c4a0dff1]
2019-02-11 11:26:39 +05:30
Maneesh Gupta 664796494d Merge pull request #903 from yxsamliu/win2
Fix hipcc and hip_vector_types.h for windows

[ROCm/hip commit: 61a8947d1c]
2019-02-11 11:24:03 +05:30
Laurent Morichetti 1cba0db52a Allow HIP_LIB_PATH to be overriden at the command line. Use HIP_LIB_PATH for rpath instead of HIP_PATH/lib
[ROCm/hip commit: 4eaf4b7c0a]
2019-02-08 13:50:13 -08:00
Aaron Enye Shi 1a8b50e63c hipcc should consume -mcode-object-v3 flag
[ROCm/hip commit: eb33507774]
2019-02-08 18:29:14 +00:00
Aaron Enye Shi 3e72d98209 Add hipInfo path for VDI build
[ROCm/hip commit: 3ad75e8d14]
2019-02-07 22:05:14 +00:00
Yaxun Sam Liu ecfc886193 Fix hipcc and hip_vector_types.h for windows
Disable linux specific compilation and linking options for windows.

In hip_vector_types.h, hip-clang needs HIP's own implementation for vector types even
on windows. MSVC specific implementation is for building runtime itself, which is compiled
by MSVC.


[ROCm/hip commit: a474dc7579]
2019-02-07 11:07:50 -05:00
Maneesh Gupta bbde243ed9 Merge pull request #898 from yxsamliu/windows
Add windows specific compilation options

[ROCm/hip commit: baea9f64e7]
2019-02-07 06:00:24 +05:30