Gráfico de commits

209 Commits

Autor SHA1 Mensaje Fecha
Maneesh Gupta 228fae1224 Cleanup bin directory
Remove hccgenco.sh and hsa-api-filter-cxl.txt

Change-Id: I5942aec911a2fe6c871fe0eb5f44a0b243552b79
2018-04-04 14:31:40 +05:30
Siu Chi Chan 52a91d7c3a On RHEL and CentOS, don't use libc++ since we are using the devtoolset-7 which has a newer g++ 2018-03-15 16:46:01 -04:00
Maneesh Gupta 7cdbb9fa91 Merge pull request #287 from ROCm-Developer-Tools/fix_llc_path
Change hipconfig to adopt new location of llc
2018-03-06 11:59:44 +05:30
Alex Voicu dc7560ef22 Change directory name to match HIP lowercase style. 2018-02-22 13:15:10 +00:00
Alex Voicu b29c8461e1 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco 2018-01-24 12:33:45 +00:00
Evgeny Mankov 356eaa81b8 [HIPIFY][perl] Typo fix 2018-01-18 09:14:16 +03:00
Alex Voicu e14ac87474 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco 2017-12-14 13:50:49 +00:00
Phaneendr-kumar Lanka 8a721b4a36 [nvccWarnings] Fix gpu deprecated targets warnings 2017-12-12 16:00:14 +05:30
Alex Voicu b842394957 This introduces LipoProteinLipase (lpl), a simple tool for creating fat binaries. It represents a direct replacement of the creaky hccgenco.sh script, which had various issues. The format it uses is that of a code object bundle, generated by the Clang Offload Bundler. The output is always suffixed with the ".adipose" extension. It is shared with HCC. The hipcc script and associated tests are modified to use lpl. Help can be obtained by invoking lpl --help. A more computer-sciency / corporate friendly name is likely to be beneficial, which is a reason for choosing easily searchable/replaceable names such as lpl or adipose. 2017-12-08 04:22:57 +00:00
Wen-Heng (Jack) Chung d841bbac59 Change hipconfig to adopt new location of llc
llc is now placed under $HCC_HOME/bin, instead of $HCC_HOME/compiler/bin.
2017-12-06 19:30:10 +00:00
Ben Sander 657e65733f Remove coordinate conversions (threadIdx.x -> hipThreadIdx_x)
Since these are now supported directly.
2017-12-02 07:44:54 -06:00
Maneesh Gupta f4187b0f16 Bumped HIP version to 1.5 and updated summary in HIP release notes
Change-Id: I4b612da88236674fac2c585ab6891bdd495511b0
2017-11-29 13:56:17 +05:30
Rahul Garg fef496d4f1 Fixed half2 issue on gfx900 2017-11-15 18:52:59 +05:30
Maneesh Gupta f34f5c8684 Remove libsupc++ dependency from HIP
Change-Id: Ib843f99dfb3057b7c28029250c2449732ea7f17f
2017-11-02 12:29:09 +05:30
Siu Chi Chan cd6996614f use libc++ on centos 7 and rhel 7.4 2017-10-31 18:14:07 +00:00
Maneesh Gupta ca239ab6ef Bump HIP version to 1.4 and update release notes
Change-Id: I3570dedb32fe5fec6f60565c587a3282a4c6c709
2017-10-06 10:26:11 +05:30
wsttiger 2ec8de3b27 Remove the conversion of warpSize to be consistent with hipDeviceProp 2017-09-15 15:05:05 -05:00
Maneesh Gupta 8c92d28ff3 Merge pull request #155 from wsttiger/master
Modify hip headers such that they are more compatible with strict C compiler
2017-09-15 10:49:55 +05:30
Aaron Enye Shi ffe21c9d75 hcc-config already sets -lc++ -lc++abi flags
Since hcc-config will set the flags for CentOS7 and RHEL 7.X, we don't need to set flags here.
2017-09-14 10:55:38 -04:00
Aaron Enye Shi a6028ade1e Added support for RHEL 7.4 2017-09-13 14:21:43 -04:00
Aaron Enye Shi b340f4a6ed Update hipcc 2017-09-12 17:50:44 -04:00
Aaron Enye Shi c7746b12ac Must explicitly add libc++ and libc++abi 2017-09-12 16:59:43 -04:00
Aaron Enye Shi edd0b360b2 [CentOS7] Fix HIP sample hipInfo and other tests
Cent OS 7 has conflicts between its libc++ and libstdc++. Seems that we cannot use libstdc++ on Cent OS. This is related to SWDEV-131972 [ROCm CQE][Cent OS 7][G] Building any HIP sample giving an fatal error: 'bits/c++config.h'.
2017-09-08 11:46:10 -04:00
Maneesh Gupta 8c94bc0009 Bump HIP version to 1.3 and update release notes
Change-Id: I53f89efca03472cb906bd56200a2bf2996453915
2017-08-16 11:18:51 +05:30
wsttiger 512214e930 Add missing CUDA tags 2017-08-15 13:22:20 -05:00
Maneesh Gupta 85ff6e3ef4 [hipcc] Fix amdgpu target selection logic
- Refactoring introduced a bug when user does not specify any target via
--amdgpu-target, but has an invalid target specified in
HCC_AMDGPU_TARGET. In this case the selection logic was defaulting to
gf803.
- Removed defaulting to any specific target if rocm_agent_enumerator
  fails. hipcc will report this and die if linking was required.

Change-Id: I76131867049fef92331807dd19a926406dcc1d02
2017-07-31 10:11:19 +05:30
Maneesh Gupta 830e85060b [hipcc] Cleanup amdgpu target logic
Existing logic has a bug. If user specifies targetA via commandline
options, while enumerator returns targetB, hipcc will create a fatbin
containing targets targetA and targetB. enumerator should only be used
when no target is specified by user (commandline or env var).

Change-Id: I6da857f86860c0e671b5988cd858644a08f723b9
2017-07-28 16:18:15 +05:30
Ben Sander 4f93b99f23 Merge pull request #100 from weixingzhang/texture
HIP Texture Support
2017-07-26 19:28:15 -05:00
Aditya Atluri 961440b593 fixed device selection during compilation to use rocm_agent_enumerator
1. Changed hipcc to use rocm_agent_enumerator
2. Changed square sample test to use device variable
2017-07-21 15:50:12 -05:00
Weixing Zhang e671cec367 HIP Texture Support 2017-07-17 15:16:12 -04:00
Sun, Peng 40d0a203f8 fix typo in hipcc
Change-Id: I5f5fb3d8f1e5e8104dca45dc213c13ae9d98a583
2017-07-01 09:43:31 -05:00
Maneesh Gupta 901538da77 Bump HIP base version to 1.2
Change-Id: I8ecc164afed4383f78579ed86a5c8c11a73b0780
2017-06-14 09:45:46 +05:30
Maneesh Gupta 5977a2e8b9 Merge branch hipify-updates into amd-develop
Change-Id: I13d8750027a2a8787e4eb2e1ed525cf69d14b805
2017-06-12 10:10:19 +05:30
Maneesh Gupta 5339320485 Initial implementation of hipify-cmakefile
Change-Id: Id365da9f887b5c3409639f000b430d093fd4f6b3
2017-06-12 09:57:17 +05:30
emankov ccc4cd1a3e [HIPIFY] annotation 2017-06-02 16:33:48 +03:00
emankov 4d035caedf [HIPIFY] rename legacy hipify perl script and its usage to hipify-perl 2017-06-02 16:30:43 +03:00
emankov 30000ef130 [HIPIFY] *.inl extension support for batch processing 2017-05-16 19:52:39 +03:00
Maneesh Gupta 90cd2945f9 Force stdlib=libc++ on UB14.04
Change-Id: I7f24d663e57fbbee56afde12a0e61fc8bfc1e9b6
2017-04-03 15:09:31 +05:30
Sun, Peng 86864a29e4 Fix hip Module APIs by disabling GGL when hipcc takes -genco option
Change-Id: I0a79e9c8e750f92c3d0be336d6ff709a2d1afd63
2017-04-02 11:56:15 -05:00
emankov ec744797dd [HIPIFY] set execute mode for bash scripts 2017-03-29 17:23:41 +03:00
Evgeny Mankov ca09afcaab [HIPIFY] Rename bash scripts. 2017-03-29 16:36:46 +03:00
Aditya Atluri 7ac438ed02 disabled metadata apis
Change-Id: Ifb8839c581644cccc2afcd18c38a866f649a4144
2017-03-28 10:46:31 -05:00
Aditya Atluri 7d49dcc030 Re-enabled metadata parsing in HIP
Change-Id: If8caa844571cb8581450df9ffdb76e2445c75f13
2017-03-27 11:00:39 -05:00
Aditya Atluri d99d5f4bbe removed LLVM_HOME from hipcc
Change-Id: Ic3dfdde9d28f08bf54b12dfc38ab1f25884bcfab
2017-03-23 11:08:19 -05:00
Aditya Atluri 4f4a44c736 removed llvm dependency and metadata functionality
Change-Id: Ib9783b75d326559ed29c5aa2218aed40d20ad0fb
2017-03-23 10:16:37 -05:00
Aditya Atluri 9d7bfbc14b fixed paths to find llvm
Change-Id: I0a4af8cea2f44fea011d09fc300e382984746d17
2017-03-21 14:22:49 -05:00
Aditya Atluri 99432cc12c Added default module launch api functionality
1. As in hipModuleLaunchKernel(..., kernelParams, nullptr); works with this commit
    2. Added headers AMDGPUPTNote.h, AMDGPURuntimeMetadata.h to do code object meta data parsing
    3. Changed CMake to look at llvm link libraries
    4. HIP developer should set env variable LLVM_HOME to remove link errors
    5. HIP depends on installed LLVM (not source, not build)
    6. Added sample to test out the feature
    7. Right now HCC does not support embedding metadata in code object. Use clang opencl
    8. Changed HIPCC to read LLVM_HOME env var
    9. New argument to CMake should be given -DLLVM_HOME=<where llvm 5.0 is installed>

Change-Id: Iba38194aa872d97cc2c90a8e5ff746c48055c868
2017-03-17 13:11:34 -05:00
Siu Chi Chan a96821871f replace code names with gfx names
Change-Id: I5e0b96a0b474b16cfa92077a30a5b80b7230254b
2017-03-15 12:26:13 -04:00
Maneesh Gupta 4ae1ea8143 hipcc: Fix warning when HCC_AMDGPU_TARGET is not defined
Change-Id: I5cc6b0e9fb23ec78152d8bcfe9e7511e2fe91055
2017-03-15 12:03:05 +05:30
Maneesh Gupta 63074e24d9 default to gfx803 instead of fatbin if no arch specified
Change-Id: I83d56c6ede11c356d383b09d7eb3a5f08c8d8c84
2017-03-14 14:34:25 +05:30