Commit Graph

68 Commits

Author SHA1 Message Date
Rahul Garg 7395bf9ba9 Remove deprecated HIP markers (#1876)
[ROCm/clr commit: 6be7537cf9]
2020-02-28 16:47:15 +05:30
Jatin Chaudhary 4436f22326 Revert "Sync hip-targets*.cmake in package with install changes (#1831)" (#1860)
Fixes SWDEV-222155 & SWDEV-222158
This reverts commit e0b4ba96e8.

[ROCm/clr commit: 18a64fe8d4]
2020-02-11 11:56:57 +05:30
Jatin Chaudhary e0b4ba96e8 Sync hip-targets*.cmake in package with install changes (#1831)
Fixes SWDEV-204247


[ROCm/clr commit: 2ec7c2ca33]
2020-02-04 08:59:28 +05:30
paulfreddy fec5105d9c Fix install script syntax error (#1805)
Fix hip-nvcc install warning on postinstall and prerm script

[ROCm/clr commit: 5cd5c62f29]
2020-01-24 16:22:57 +05:30
paulfreddy c9c4645328 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/clr commit: c5ed5c71a3]
2020-01-21 14:17:35 +05:30
Aakanksha Patil efc95906b5 [HIPIFY][cmake] Packaging for hipify-clang
[ROCm/clr commit: 545ad0dad3]
2020-01-15 11:39:02 -05:00
Maneesh Gupta ecbc77d921 [packaging] Rename hip packages to conform to debian package renaming rules (#1708)
[ROCm/clr commit: 59b3bd0048]
2019-12-04 15:55:37 +05:30
Maneesh Gupta 9e9d49c891 Revert "[packaging] Conform to debian package naming rules (#1647)" (#1688)
This reverts commit 71be7baece.

[ROCm/clr commit: 38e971b645]
2019-12-01 14:47:43 +05:30
Maneesh Gupta 71be7baece [packaging] Conform to debian package naming rules (#1647)
* [packaging] Conform to debian package naming rules

* Add hip_hcc metapackage for backward compatibility


[ROCm/clr commit: 5a03482690]
2019-11-14 11:40:34 +05:30
srinivamd ad8e82ca0b remove dependencies on /opt/rocm path (#1379)
* remove hard coded dependencies on /opt/rocm path

[ROCm/clr commit: 706e4498e3]
2019-10-10 19:56:55 +05:30
Maneesh Gupta cb3803e423 [packaging] update soft-links that already exist (#1364)
Change-Id: Ibe9840802b1765094ef998edf2210e95404cb989

[ROCm/clr commit: b92c16f4d9]
2019-08-26 23:41:14 -04:00
Maneesh Gupta 91fc0687fa 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/clr commit: e50f05f3f2]
2019-08-21 10:01:23 +00:00
Maneesh Gupta 493e713fde [packaging] Add dependency on comgr to hip_hcc package (#1182)
[ROCm/clr commit: e0b86d890c]
2019-06-25 06:32:46 +05:30
Aaron Enye Shi c40b299489 Workaround HIP-Clang missing libhiprtc.so packaging
[ROCm/clr commit: d34805f07a]
2019-05-24 20:46:16 +00:00
Alex Voicu a4a3132c64 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/clr commit: a538eb705a]
2019-05-16 18:28:54 +05:30
Aaron Enye Shi f8d108a815 Revert "Use COMgr to read Kernel Args Metadata (#1006)"
This reverts commit 10048a5631.


[ROCm/clr commit: 235c6877c8]
2019-04-26 16:04:56 -04:00
Aaron Enye Shi 10048a5631 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/clr commit: 2c80975e9c]
2019-04-16 08:34:39 +05:30
Maneesh Gupta 777aebdc9e [packaging] Add checkpoints in prerm scripts
- Add failsafe in case of non existant files or directories.

Change-Id: I85db04381c3e16f04638086152945463a8004c19


[ROCm/clr commit: 3ad0a47cf2]
2019-02-08 10:57:05 +05:30
Aaron Enye Shi 1c05b06bcd 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/clr commit: ba43d1ce1b]
2018-10-25 19:52:35 +00:00
Aaron Enye Shi ce3a13cb4f Remove few hcc specific cmake for hip-clang
[ROCm/clr commit: 6e40ec653c]
2018-08-15 21:53:20 +00:00
Aaron Enye Shi 4b941a0db8 Merge branch 'master' into hipclang-add-amdgcn-funcs
[ROCm/clr commit: f8109c5b06]
2018-07-04 17:36:08 +00:00
Maneesh Gupta e6c2e3ee1b Update hip-targets.cmake for hip::host & hip::device
[ROCm/clr commit: 1978cea4b7]
2018-07-02 10:37:20 +05:30
Aaron Enye Shi d09a2f9237 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/clr commit: 175c87f2bf]
2018-06-20 17:39:31 +00:00
Alex Voicu a231cd5604 Remove vestigial inline LLVMIR.
[ROCm/clr commit: f2a86f3e1c]
2018-05-24 12:46:14 +01:00
Maneesh Gupta f9d995ee1b Add lpl and ca binaries to hip_base package
Change-Id: Ie05669768dfd086a89bcf4aad134f4b425d1e21c


[ROCm/clr commit: e8f1aeb764]
2018-03-14 11:42:36 +05:30
Maneesh Gupta d4ff298f5e Disable md2html conversion in hip doc package
[ROCm/clr commit: 4995146eaf]
2018-01-26 07:02:49 +05:30
Maneesh Gupta f579dd3c7d Remove libsupc++ dependency from HIP
Change-Id: Ib843f99dfb3057b7c28029250c2449732ea7f17f


[ROCm/clr commit: 473208368e]
2017-11-02 12:29:09 +05:30
Wen-Heng (Jack) Chung c949da237a Inital codes to remove x86_64 dependency in HIP source build
[ROCm/clr commit: b98dede49a]
2017-10-30 15:19:23 -05:00
Maneesh Gupta c2cb93b2cc GPUOpen-ProfessionalCompute-Tools -> ROCm-Developer-Tools
Change-Id: I9f5b29dd1097385acecb0c672770d8adca2fdcf7


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


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


[ROCm/clr commit: 197a29f142]
2017-04-22 15:54:14 -05:00
James Edwards f1b0693479 Properly link hip cmake file into top level lib directory.
Change-Id: I2113a86ca6985f34fd0cfb091abdbce0f632cfc2


[ROCm/clr commit: c33c84a596]
2017-04-21 22:34:26 -05:00
James Edwards 0339fbee52 Fix RPM HIP packages from specifying /opt
Change-Id: Iec3c3b81eef4c8888d425eefc80b12488a8d20a1


[ROCm/clr commit: c5e1235f64]
2017-04-17 23:58:34 -05:00
Maneesh Gupta 4ff62e9760 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/clr commit: 0d4f1c2d0c]
2017-04-13 10:34:33 +05:30
Maneesh Gupta 82965fb2d6 Remove unused packaging scripts
Change-Id: I609391b905810eb24f7fd4ea6d7f27166ca001b3


[ROCm/clr commit: 714dd99e2d]
2017-04-04 08:07:56 +05:30
Maneesh Gupta 14c38df500 hip_doc packaging script updates
- Gracefully handle missing doxygen and grip tools

Change-Id: I1a4a653d687c136c6d9237062ab4d02bc6cb3db1


[ROCm/clr commit: b54954b09f]
2017-04-04 08:06:09 +05:30
Maneesh Gupta ee3f396aab packaging script changes for hip_hcc
Change-Id: I06cce6048204315a891e3a12638a3067644cfb43


[ROCm/clr commit: 1d5ce89b1b]
2017-02-28 12:02:53 +05:30
Maneesh Gupta 7a146c9d3d Update hip_hcc packaging script
Change-Id: I2dc96545c472942bcf2bc8a2e88735f3ba26d1e1


[ROCm/clr commit: 7f62529b1f]
2017-02-09 20:28:28 +05:30
Maneesh Gupta 861429a560 hip_hcc package changes
- updated hip_hcc package creation dependencies
- support build hip_hcc package for HCC-1.0

Change-Id: Idf23e415eff8cb352a8906191c79bd822c7618e7


[ROCm/clr commit: 1b50462ce0]
2016-12-22 15:30:38 +05:30
Maneesh Gupta 5e38114363 Improve shared and static library support
hipcc accepts new parameter -use-staticlib and -use-sharedlib to
control linking behavior. Default is still static library.

Change-Id: I28fb9a939f8177c75abefd8b77d8118a6666d1f4


[ROCm/clr commit: fd8b1c7d41]
2016-12-01 15:33:12 +05:30
Maneesh Gupta b13556367d Refactor for building HIP as dynamic library
Change-Id: I65a3d9d589c4fdbbdcf1611e5427224253be8260


[ROCm/clr commit: 2195e3c37d]
2016-11-18 14:33:20 +05:30
Maneesh Gupta 715afe3249 hip_hcc package: install hip_ir.ll to lib folder
Change-Id: Ieaa4ff83597c211f221b4c1b0b93e08ad7c92ea6


[ROCm/clr commit: 5b4127abda]
2016-10-25 15:42:24 +05:30
Maneesh Gupta d69342946b Update packaging scripts to handle updated HCC package versioning
Change-Id: Id93267b7cf9fd05e60004cc6c45b5fc7d10b3130


[ROCm/clr commit: 5d710c8802]
2016-10-17 12:48:05 +05:30
Maneesh Gupta cdc41c3432 packaging: create soft-links for .hipVersion & .buildInfo
Change-Id: Iabcd2224062ecd7742892d0574a74dced2d547b2


[ROCm/clr commit: 3f369d0599]
2016-10-11 11:15:10 +05:30
Maneesh Gupta 561719b913 .buildInfo -> .hipInfo & .version -> .hipVersion
Change-Id: I8023f4349621fd81c58615737b7e897649e0f7ca


[ROCm/clr commit: 7e277ef6e5]
2016-10-11 11:13:41 +05:30
Maneesh Gupta c57d6b263e hip_hcc package: set dependency on rocm-profiler only if COMPILE_HIP_ATP_MARKER=1
Change-Id: Ib0424a984546e9f770f280f8559b4a716badcc77


[ROCm/clr commit: 900746656c]
2016-10-09 16:01:47 +05:30
Maneesh Gupta 2cd4fdb4ca Fixed typos in packaging script for hip_hcc package
Change-Id: I79237e7364518066585d5c88bd54e3b30f832076


[ROCm/clr commit: 5dc8a6a9e8]
2016-10-07 15:44:59 +05:30
Maneesh Gupta 5d19348868 hip_doc package: Update markdown to html script
Change-Id: Ic7fe4f4df71621789ef4c0ce8103752ea32f3fd8


[ROCm/clr commit: 398d45c677]
2016-10-05 23:01:52 +05:30
Maneesh Gupta 85bf3aa346 Update hip_hcc packaging steps
Change-Id: I0ab16d8aef1dd33a971f73b3a6faa067df495d55


[ROCm/clr commit: eb78b13a6f]
2016-10-05 22:58:04 +05:30
Maneesh Gupta 4be59b9250 Add back rocm-profiler as a dependency for hip_hcc package
This reverts commit 0d8126a9eb.


[ROCm/clr commit: ccc695d685]
2016-10-05 22:39:42 +05:30