Граф коммитов

84 Коммитов

Автор SHA1 Сообщение Дата
Yaxun (Sam) Liu 79f312f6c9 Fix build failure of rocPRIM
Two issues are fixed:

libamdhip64_static.a is not included in package.

cmake generated target files uses installation path of libraries
which are created when the libraries are built and installed.
The CI uses customized installation directory which is not
the package installation directory, thefore the library location
in cmake generated target files differs from the library location
installed from package. This causes rocPRIM build failure since
rocPRIM uses pkg-config which checks library location.

The fix is to fix the library location before adding cmake
generated target files to package.

Change-Id: I4aa2c6138f58df6d4a86301a5c0436edcb19ab70


[ROCm/hip commit: 3128b2dfd1]
2020-04-14 09:47:59 -04:00
Yaxun (Sam) Liu e83752424d Fix MIOpen build failure
This is charrypick of b5a50ec9cf
and https://github.com/ROCm-Developer-Tools/HIP/pull/2009

Fix cmake config file

Removed cmake target files under packaging directory.

Merged cmake config .in files for HIP-Clang and HCC as one.

Use cmake generated target files in both install and packaging.

This makes cmake config file consistent for make install and
make package.

Let device side malloc/free return nullptr and trap

Change-Id: I448f3ea2d4934648089bad371debc203f895cba6


[ROCm/hip commit: 88304c15e6]
2020-04-13 23:01:31 -04:00
Maneesh Gupta 4e1f6f2a0e Merge branch 'amd-master' into amd-master-next
Change-Id: I3094c15008093f2072bcd38aca4ea90aeae2d97b


[ROCm/hip commit: 2af31479e2]
2020-04-09 06:31:00 -04:00
Saleel Kudchadker 7bed9a90b7 libhiprtc.so needs to be installed in DEST dir
Change-Id: I3ae8b4f18a05a707b87fa73873c1721928ebe904


[ROCm/hip commit: 9ecd0e79b6]
2020-03-12 12:23:36 -07:00
Lad, Aditya 044a1924ba Merge branch 'master' into amd-master-next
Conflicts:
	CMakeLists.txt
	tests/src/texture/simpleTexture2DLayered.cpp
	tests/src/texture/simpleTexture3D.cpp

Change-Id: I4aa4754d391b5f37ddf15fa0bcfc84d9da020119


[ROCm/hip commit: d80edf9541]
2020-03-06 14:10:44 -05:00
Payam e28e857f52 updating hip debug target for VDI
Change-Id: Ia08af89e2ee461e75e888e495984d3b1d9a6a858


[ROCm/hip commit: 5b14ab34f5]
2020-02-28 18:13:50 -05:00
Payam ca490bfe31 updated hip-targets for VDI
Change-Id: I268f1dbf04e3439ca1f3dd1cfbbc2f40667c00f9


[ROCm/hip commit: e638f9afba]
2020-02-28 18:02:02 -05:00
Rahul Garg c34c9a4b4d Remove deprecated HIP markers (#1876)
[ROCm/hip commit: 6c5fa32815]
2020-02-28 16:47:15 +05:30
Payam 7095e4d0c9 changed variable name to VDI
Change-Id: I9ab338b50714b0df2db1fa485134e1dad80b68c0


[ROCm/hip commit: a8206e2e8f]
2020-02-25 02:11:24 -05:00
Payam 82ee0a767b updated hip-targets for hip-vdi
Change-Id: Ib65e9011b25e368b8e03db1b4f14aa1ad076f4bc


[ROCm/hip commit: 73686f990d]
2020-02-24 17:37:21 -05:00
Payam c0f13d8ae1 Removed Static lib for hip target
Change-Id: Iea7fc3f26f5d99df622e69aab3898f7bc931fc58


[ROCm/hip commit: 2a63942e35]
2020-02-19 03:51:55 -05:00
Payam 596e26e723 removing static lib for hip target
Change-Id: I401f428469d5c1c03278f20c3c24c69636876f7c


[ROCm/hip commit: cb4637c222]
2020-02-18 16:46:36 -05:00
Payam 6c10ab55ca updated package generation and removed hiphcc_static as a target for hip-vdi
Change-Id: I0067dd6341f47a212cb02b8d43d3ea01644c2391


[ROCm/hip commit: 28d8a38c0e]
2020-02-16 03:00:59 -05:00
Aaron Enye Shi 9d12fb8e25 HIP-VDI fix CPACK packaging dependencies
Change-Id: I64d803499dd8b2fc80b1320f71115ebaf019a9e7


[ROCm/hip commit: 85b6905871]
2020-02-13 10:02:49 -05:00
Jatin Chaudhary 2868c785d8 Revert "Sync hip-targets*.cmake in package with install changes (#1831)" (#1860)
Fixes SWDEV-222155 & SWDEV-222158
This reverts commit c7562072a3.

[ROCm/hip commit: ab7526f64c]
2020-02-11 11:56:57 +05:30
Laurent Morichetti 8b18768a1c Merge branch 'master' into amd-master-next
Change-Id: Ib7e7824073f4dfc391fb3833fc90e11b327d3c22


[ROCm/hip commit: 258adce78e]
2020-02-05 14:56:08 -08:00
Payam db9a20e401 removing hip-vdi versioning dependency till we update the packaging
Change-Id: I8d97bf443f548c3a570a0ef5a068ad04c8d91021


[ROCm/hip commit: 322436574f]
2020-02-04 00:36:06 -05:00
Jatin Chaudhary c7562072a3 Sync hip-targets*.cmake in package with install changes (#1831)
Fixes SWDEV-204247


[ROCm/hip commit: 6891615a15]
2020-02-04 08:59:28 +05:30
Laurent Morichetti bc78a8529d Merge branch 'origin/pghafari/hip-vdi' into lmoriche/amd-master-next
Change-Id: I22c145d39f430ca571a981687bcb034ea6e3b8a2


[ROCm/hip commit: a8b81e96b4]
2020-01-31 07:33:12 -08:00
paulfreddy 68238a43ae Fix install script syntax error (#1805)
Fix hip-nvcc install warning on postinstall and prerm script

[ROCm/hip commit: f653c8c999]
2020-01-24 16:22:57 +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
Aakanksha Patil 04b0bf0a1d [HIPIFY][cmake] Packaging for hipify-clang
[ROCm/hip commit: 7f78630124]
2020-01-15 11:39:02 -05:00
Maneesh Gupta 261b0a6f50 [packaging] Rename hip packages to conform to debian package renaming rules (#1708)
[ROCm/hip commit: 1f6b3e2aa5]
2019-12-04 15:55:37 +05:30
Maneesh Gupta ee44fffd35 Revert "[packaging] Conform to debian package naming rules (#1647)" (#1688)
This reverts commit 8016fa32df.

[ROCm/hip commit: 4585b7f6f3]
2019-12-01 14:47:43 +05:30
Maneesh Gupta 8016fa32df [packaging] Conform to debian package naming rules (#1647)
* [packaging] Conform to debian package naming rules

* Add hip_hcc metapackage for backward compatibility


[ROCm/hip commit: 2ca1a82036]
2019-11-14 11:40:34 +05:30
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 a33dbe9004 [packaging] update soft-links that already exist (#1364)
Change-Id: Ibe9840802b1765094ef998edf2210e95404cb989

[ROCm/hip commit: 5d95ffa010]
2019-08-26 23:41:14 -04:00
Maneesh Gupta f1f202a4e9 Packaging and versioning changes (#1348)
- Fixes SWDEV-200435
- Brings versioning and packaging naming inline with rest of the ROCm
  components.
- Minor bug fixes.

Change-Id: I543a24bf18baffe74fa3ccac8c93bddba7231c5e

[ROCm/hip commit: c42075715b]
2019-08-21 10:01:23 +00:00
Maneesh Gupta 7874e84d3d [packaging] Add dependency on comgr to hip_hcc package (#1182)
[ROCm/hip commit: d4a92519eb]
2019-06-25 06:32:46 +05:30
Aaron Enye Shi 6af687f890 Workaround HIP-Clang missing libhiprtc.so packaging
[ROCm/hip commit: 81a3ea28d5]
2019-05-24 20:46:16 +00:00
Alex Voicu d5a3acfd69 Add HIPRTC, glorious ersatz for NVRTC (#1097)
* Add ersatz for NVRTC.

* Fix extraneous paren and use correct namespace.

* Use lowerCamelCase (yuck, yuck) consistently.

* Link against FS when building hiprtc lib.

* Correctly mark Manipulators. Fix dual compile.

* Add unit tests. Extend HIT to accept linker options.

* Make sure the HIPRTC library is installed.

* Better logging. Try to auto-detect the target.

* Stop specifying the target explicitly.

* Add missing flavour of `hipModuleLaunchKernel`.

* Program was already destroyed.

* Don't use `--genco`. Fix mangled name trimming.

* Fix HIPRTC breakage due to upstream noise.

* [dtests] Replace RUN -> TEST in hiprtc tests

Change-Id: Ie499e92dfe4e5c94634b1c2b76cf52d241bcfea3

* [hit] Set HIP_PATH to HIP_ROOT_DIR for all tests

Change-Id: Ib0ad1f99bc71c03e363e055dd508a7a4a210680a


[ROCm/hip commit: ccfb764a59]
2019-05-16 18:28:54 +05:30
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
Maneesh Gupta 84e3fcb0ae [packaging] Add checkpoints in prerm scripts
- Add failsafe in case of non existant files or directories.

Change-Id: I85db04381c3e16f04638086152945463a8004c19


[ROCm/hip commit: 31dd6bc830]
2019-02-08 10:57:05 +05:30
Aaron Enye Shi 5bbd632888 Remove libhip_device.a static library
Move remaining function definitions from device_util.cpp to hip_runtime.h header. We can now remove the static library completely as device_util.cpp was the last file part of target hip::hip_device .


[ROCm/hip commit: 817b27d530]
2018-10-25 19:52:35 +00:00
Aaron Enye Shi d5b8f89565 Remove few hcc specific cmake for hip-clang
[ROCm/hip commit: dbcede2ab8]
2018-08-15 21:53:20 +00:00
Aaron Enye Shi e8fac0449e Merge branch 'master' into hipclang-add-amdgcn-funcs
[ROCm/hip commit: 2975f2a10a]
2018-07-04 17:36:08 +00:00
Maneesh Gupta b7367558ef Update hip-targets.cmake for hip::host & hip::device
[ROCm/hip commit: 4b660c8382]
2018-07-02 10:37:20 +05:30
Aaron Enye Shi 2a2f34b42d Implement hip_hc.ll into HIP headers
Move all __hip_hc_ir_* functions from hip_hc.ll into HIP header as inline asm. Remove hip_hc.ll and build dependencies from HIP.


[ROCm/hip commit: 2142eb4d12]
2018-06-20 17:39:31 +00:00
Alex Voicu a7da1ccf2e Remove vestigial inline LLVMIR.
[ROCm/hip commit: 9c7fbdb597]
2018-05-24 12:46:14 +01:00
Maneesh Gupta 2778707cb4 Add lpl and ca binaries to hip_base package
Change-Id: Ie05669768dfd086a89bcf4aad134f4b425d1e21c


[ROCm/hip commit: 5c65f260eb]
2018-03-14 11:42:36 +05:30
Maneesh Gupta 076ba92854 Disable md2html conversion in hip doc package
[ROCm/hip commit: 9860d5de20]
2018-01-26 07:02:49 +05:30
Maneesh Gupta 94a22fe015 Remove libsupc++ dependency from HIP
Change-Id: Ib843f99dfb3057b7c28029250c2449732ea7f17f


[ROCm/hip commit: f34f5c8684]
2017-11-02 12:29:09 +05:30
Wen-Heng (Jack) Chung afb75b0b2c Inital codes to remove x86_64 dependency in HIP source build
[ROCm/hip commit: 92fb244841]
2017-10-30 15:19:23 -05:00
Maneesh Gupta 19ecde4011 GPUOpen-ProfessionalCompute-Tools -> ROCm-Developer-Tools
Change-Id: I9f5b29dd1097385acecb0c672770d8adca2fdcf7


[ROCm/hip commit: db959e648b]
2017-07-05 11:44:44 +05:30
Maneesh Gupta cd3beb8c66 hip_hcc package: add libstdc++-static as a rpm dependency
Change-Id: I83a79353492a6be3d788b7c0ce4a8f3aa740d9d9


[ROCm/hip commit: 6b768c2f0a]
2017-06-07 15:50:28 +05:30
James Edwards 63cca4cd29 Specify full path of hip libraries in link file.
Change-Id: I49b788f3489e7abff6b11006ff97fdfca4e5942c


[ROCm/hip commit: 4869bf5a7c]
2017-04-22 15:54:14 -05:00
James Edwards 236c084472 Properly link hip cmake file into top level lib directory.
Change-Id: I2113a86ca6985f34fd0cfb091abdbce0f632cfc2


[ROCm/hip commit: 36353a560f]
2017-04-21 22:34:26 -05:00
James Edwards 1963e91a8e Fix RPM HIP packages from specifying /opt
Change-Id: Iec3c3b81eef4c8888d425eefc80b12488a8d20a1


[ROCm/hip commit: 7699aeb3d3]
2017-04-17 23:58:34 -05:00
Maneesh Gupta f7f4fa0d23 Add hip-config.cmake to hip_hcc package
Due to the way hip packages are generated, for the purpose of
packaging hip-targets*.cmake are not generated at build time.
However hip-config*.cmake are generated at build time.
This will be fixed in future.

Change-Id: I5d79bc58a4f7a324ae06457130d8372ffe403830


[ROCm/hip commit: 7bb378bd4d]
2017-04-13 10:34:33 +05:30