Wykres commitów

84 Commity

Autor SHA1 Wiadomość Data
Yaxun (Sam) Liu 3128b2dfd1 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
2020-04-14 09:47:59 -04:00
Yaxun (Sam) Liu 88304c15e6 Fix MIOpen build failure
This is charrypick of 9ead991784
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
2020-04-13 23:01:31 -04:00
Maneesh Gupta 2af31479e2 Merge branch 'amd-master' into amd-master-next
Change-Id: I3094c15008093f2072bcd38aca4ea90aeae2d97b
2020-04-09 06:31:00 -04:00
Saleel Kudchadker 9ecd0e79b6 libhiprtc.so needs to be installed in DEST dir
Change-Id: I3ae8b4f18a05a707b87fa73873c1721928ebe904
2020-03-12 12:23:36 -07:00
Lad, Aditya d80edf9541 Merge branch 'master' into amd-master-next
Conflicts:
	CMakeLists.txt
	tests/src/texture/simpleTexture2DLayered.cpp
	tests/src/texture/simpleTexture3D.cpp

Change-Id: I4aa4754d391b5f37ddf15fa0bcfc84d9da020119
2020-03-06 14:10:44 -05:00
Payam 5b14ab34f5 updating hip debug target for VDI
Change-Id: Ia08af89e2ee461e75e888e495984d3b1d9a6a858
2020-02-28 18:13:50 -05:00
Payam e638f9afba updated hip-targets for VDI
Change-Id: I268f1dbf04e3439ca1f3dd1cfbbc2f40667c00f9
2020-02-28 18:02:02 -05:00
Rahul Garg 6c5fa32815 Remove deprecated HIP markers (#1876) 2020-02-28 16:47:15 +05:30
Payam a8206e2e8f changed variable name to VDI
Change-Id: I9ab338b50714b0df2db1fa485134e1dad80b68c0
2020-02-25 02:11:24 -05:00
Payam 73686f990d updated hip-targets for hip-vdi
Change-Id: Ib65e9011b25e368b8e03db1b4f14aa1ad076f4bc
2020-02-24 17:37:21 -05:00
Payam 2a63942e35 Removed Static lib for hip target
Change-Id: Iea7fc3f26f5d99df622e69aab3898f7bc931fc58
2020-02-19 03:51:55 -05:00
Payam cb4637c222 removing static lib for hip target
Change-Id: I401f428469d5c1c03278f20c3c24c69636876f7c
2020-02-18 16:46:36 -05:00
Payam 28d8a38c0e updated package generation and removed hiphcc_static as a target for hip-vdi
Change-Id: I0067dd6341f47a212cb02b8d43d3ea01644c2391
2020-02-16 03:00:59 -05:00
Aaron Enye Shi 85b6905871 HIP-VDI fix CPACK packaging dependencies
Change-Id: I64d803499dd8b2fc80b1320f71115ebaf019a9e7
2020-02-13 10:02:49 -05:00
Jatin Chaudhary ab7526f64c Revert "Sync hip-targets*.cmake in package with install changes (#1831)" (#1860)
Fixes SWDEV-222155 & SWDEV-222158
This reverts commit 6891615a15.
2020-02-11 11:56:57 +05:30
Laurent Morichetti 258adce78e Merge branch 'master' into amd-master-next
Change-Id: Ib7e7824073f4dfc391fb3833fc90e11b327d3c22
2020-02-05 14:56:08 -08:00
Payam 322436574f removing hip-vdi versioning dependency till we update the packaging
Change-Id: I8d97bf443f548c3a570a0ef5a068ad04c8d91021
2020-02-04 00:36:06 -05:00
Jatin Chaudhary 6891615a15 Sync hip-targets*.cmake in package with install changes (#1831)
Fixes SWDEV-204247
2020-02-04 08:59:28 +05:30
Laurent Morichetti a8b81e96b4 Merge branch 'origin/pghafari/hip-vdi' into lmoriche/amd-master-next
Change-Id: I22c145d39f430ca571a981687bcb034ea6e3b8a2
2020-01-31 07:33:12 -08:00
paulfreddy f653c8c999 Fix install script syntax error (#1805)
Fix hip-nvcc install warning on postinstall and prerm script
2020-01-24 16:22:57 +05:30
paulfreddy 3bc69394d0 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
2020-01-21 14:17:35 +05:30
Aakanksha Patil 7f78630124 [HIPIFY][cmake] Packaging for hipify-clang 2020-01-15 11:39:02 -05:00
Maneesh Gupta 1f6b3e2aa5 [packaging] Rename hip packages to conform to debian package renaming rules (#1708) 2019-12-04 15:55:37 +05:30
Maneesh Gupta 4585b7f6f3 Revert "[packaging] Conform to debian package naming rules (#1647)" (#1688)
This reverts commit 2ca1a82036.
2019-12-01 14:47:43 +05:30
Maneesh Gupta 2ca1a82036 [packaging] Conform to debian package naming rules (#1647)
* [packaging] Conform to debian package naming rules

* Add hip_hcc metapackage for backward compatibility
2019-11-14 11:40:34 +05:30
srinivamd 908e14d176 remove dependencies on /opt/rocm path (#1379)
* remove hard coded dependencies on /opt/rocm path
2019-10-10 19:56:55 +05:30
Maneesh Gupta 5d95ffa010 [packaging] update soft-links that already exist (#1364)
Change-Id: Ibe9840802b1765094ef998edf2210e95404cb989
2019-08-26 23:41:14 -04:00
Maneesh Gupta c42075715b 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
2019-08-21 10:01:23 +00:00
Maneesh Gupta d4a92519eb [packaging] Add dependency on comgr to hip_hcc package (#1182) 2019-06-25 06:32:46 +05:30
Aaron Enye Shi 81a3ea28d5 Workaround HIP-Clang missing libhiprtc.so packaging 2019-05-24 20:46:16 +00:00
Alex Voicu ccfb764a59 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
2019-05-16 18:28:54 +05:30
Aaron Enye Shi a3d118eaa8 Revert "Use COMgr to read Kernel Args Metadata (#1006)"
This reverts commit 8a548bf40b.
2019-04-26 16:04:56 -04:00
Aaron Enye Shi 8a548bf40b 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
2019-04-16 08:34:39 +05:30
Maneesh Gupta 31dd6bc830 [packaging] Add checkpoints in prerm scripts
- Add failsafe in case of non existant files or directories.

Change-Id: I85db04381c3e16f04638086152945463a8004c19
2019-02-08 10:57:05 +05:30
Aaron Enye Shi 817b27d530 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 .
2018-10-25 19:52:35 +00:00
Aaron Enye Shi dbcede2ab8 Remove few hcc specific cmake for hip-clang 2018-08-15 21:53:20 +00:00
Aaron Enye Shi 2975f2a10a Merge branch 'master' into hipclang-add-amdgcn-funcs 2018-07-04 17:36:08 +00:00
Maneesh Gupta 4b660c8382 Update hip-targets.cmake for hip::host & hip::device 2018-07-02 10:37:20 +05:30
Aaron Enye Shi 2142eb4d12 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.
2018-06-20 17:39:31 +00:00
Alex Voicu 9c7fbdb597 Remove vestigial inline LLVMIR. 2018-05-24 12:46:14 +01:00
Maneesh Gupta 5c65f260eb Add lpl and ca binaries to hip_base package
Change-Id: Ie05669768dfd086a89bcf4aad134f4b425d1e21c
2018-03-14 11:42:36 +05:30
Maneesh Gupta 9860d5de20 Disable md2html conversion in hip doc package 2018-01-26 07:02:49 +05:30
Maneesh Gupta f34f5c8684 Remove libsupc++ dependency from HIP
Change-Id: Ib843f99dfb3057b7c28029250c2449732ea7f17f
2017-11-02 12:29:09 +05:30
Wen-Heng (Jack) Chung 92fb244841 Inital codes to remove x86_64 dependency in HIP source build 2017-10-30 15:19:23 -05:00
Maneesh Gupta db959e648b GPUOpen-ProfessionalCompute-Tools -> ROCm-Developer-Tools
Change-Id: I9f5b29dd1097385acecb0c672770d8adca2fdcf7
2017-07-05 11:44:44 +05:30
Maneesh Gupta 6b768c2f0a hip_hcc package: add libstdc++-static as a rpm dependency
Change-Id: I83a79353492a6be3d788b7c0ce4a8f3aa740d9d9
2017-06-07 15:50:28 +05:30
James Edwards 4869bf5a7c Specify full path of hip libraries in link file.
Change-Id: I49b788f3489e7abff6b11006ff97fdfca4e5942c
2017-04-22 15:54:14 -05:00
James Edwards 36353a560f Properly link hip cmake file into top level lib directory.
Change-Id: I2113a86ca6985f34fd0cfb091abdbce0f632cfc2
2017-04-21 22:34:26 -05:00
James Edwards 7699aeb3d3 Fix RPM HIP packages from specifying /opt
Change-Id: Iec3c3b81eef4c8888d425eefc80b12488a8d20a1
2017-04-17 23:58:34 -05:00
Maneesh Gupta 7bb378bd4d 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
2017-04-13 10:34:33 +05:30