Maneesh Gupta
514f5cb8fb
[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
[ROCm/hip commit: 830e85060b ]
2017-07-28 16:18:15 +05:30
Maneesh Gupta
b763034c65
Merge pull request #127 from bensander/pass_module_kname
...
Pass kernel name to HCC dispatch_hsa_kernel, for debug/profile
[ROCm/hip commit: 375ec84bc6 ]
2017-07-28 10:19:15 +05:30
Ben Sander
1ff23db17b
Add workweek check to make sure we have a new enough compiler
...
[ROCm/hip commit: 4980a6d3ab ]
2017-07-27 23:00:58 -05:00
Maneesh Gupta
90fa6b18eb
Merge pull request #122 from bensander/enable_async_null_stream
...
Set HIP_SYNC_NULL_STREAM=0.
[ROCm/hip commit: fcc294ed41 ]
2017-07-28 09:15:56 +05:30
Maneesh Gupta
5ab79f8182
Merge pull request #121 from syifan/master
...
Allow hip cmake to link libraries
[ROCm/hip commit: 821f8b9e02 ]
2017-07-28 09:12:15 +05:30
Ben Sander
3ab70ad042
Pass kernel name to HCC dispatch_hsa_kernel, for debug/profile
...
[ROCm/hip commit: 3a4dfc0f85 ]
2017-07-27 22:00:15 -05:00
Ben Sander
a9dce0cfe8
Merge pull request #110 from sunway513/fix_hipEnvVar_test
...
Fix hipEnvVar test
[ROCm/hip commit: 9cede50942 ]
2017-07-27 13:03:43 -05:00
sunway513
014f1797d9
Change to use hipDeviceGetPCIBusId api for hipEnvVarDriver test
...
[ROCm/hip commit: ed0d6cf745 ]
2017-07-27 17:41:49 +00:00
Ben Sander
cba82d9e24
Set HIP_SYNC_NULL_STREAM=0.
...
Optimizes null stream synchronization so it uses GPU-side dependency
resolution. Requires HCC __hcc_workweek__ > 17300.
[ROCm/hip commit: 77fb9893b4 ]
2017-07-27 11:11:54 -05:00
Yifan Sun
8db7ef071d
Allow hip cmake to link libraries
...
[ROCm/hip commit: 0aaa800109 ]
2017-07-27 11:46:18 -04:00
Maneesh Gupta
da4042554f
Merge pull request #116 from bensander/enable_coh_host
...
Make host memory allocations coherent by default.
[ROCm/hip commit: 526fcb1223 ]
2017-07-27 10:45:32 +05:30
Ben Sander
9ec4b0b66f
Merge pull request #100 from weixingzhang/texture
...
HIP Texture Support
[ROCm/hip commit: 4f93b99f23 ]
2017-07-26 19:28:15 -05:00
Ben Sander
adeb4b4ff9
Merge pull request #114 from emankov/master
...
[HIPIFY] CUDA Stream Callback support
[ROCm/hip commit: bcdc6681fa ]
2017-07-26 19:27:05 -05:00
Ben Sander
d1dbf4f45d
Merge pull request #113 from mangupta/avoid_rebuild_cache
...
[cmake] No longer rebuild cmake cache on each build
[ROCm/hip commit: 50546c7866 ]
2017-07-26 19:24:43 -05:00
Ben Sander
6834270f15
Make host memory allocations coherent by default.
...
Associated change is to optimize event recording so it uses
agent-scope releaes (since it was only using system-scope release
to support non-coherent host mem).
Flags and environment variables exist to obtain previous behavior
if desired. Options are documented in new performance guide.
[ROCm/hip commit: 8b8e97ff28 ]
2017-07-26 19:20:34 -05:00
Ben Sander
fbffeb7350
Update release notes.
...
[ROCm/hip commit: d9d9a8620f ]
2017-07-26 19:03:32 -05:00
Evgeny Mankov
9ba397e8fe
[HIPIFY] CUDA Stream Callback support
...
[ROCm/hip commit: 368aebc4bc ]
2017-07-26 19:29:50 +03:00
Maneesh Gupta
0c211125c4
[cmake] No longer rebuild cmake cache on each build
...
Cmake cache was being rebuilt on each build. This was being done
to update HIP_VERSION, HCC_VERSION, .hipInfo and .hipVersion.
However, rebuilding cache also re-runs HIT parser which is slow.
Removing the cache rebuild should speed up the build. But user
needs to explicitly rebuild the cache in case HIP_VERSION or
HCC_VERSION changes by calling "make rebuild_cache"
Change-Id: Ia5476eb7105aa614239c4dc7968c37f5e6cb0b29
[ROCm/hip commit: e63c8494fd ]
2017-07-26 13:51:32 +05:30
Evgeny Mankov
e17a4fffa9
[HIPIFY] Finally finished syncing with CUDA 8.0.61 Driver and Runtime… ( #105 )
...
[hipify-clang] Finally finished syncing with CUDA 8.0.61 Driver and Runtime API (including missing data types, D3D, OpenGL, VDPAU and EGL interop).
+ All the Modules are supported now:
1) 4.1 – 4.31 from CUDA 8.0.61 Driver API
2) CUDA_Driver_API_functions_supported_by_HIP.md updated accordingly
3) 4.1 – 4.31 from CUDA 8.0.61 Runtime API
4) CUDA_Runtime_API_functions_supported_by_HIP.md updated accordingly
+ Typos fixing
+ Annotating
[ROCm/hip commit: 85e6593a1b ]
2017-07-26 09:38:03 +05:30
Maneesh Gupta
edcb83cc2f
Merge pull request #111 from bensander/master
...
Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough)
[ROCm/hip commit: f420af64d0 ]
2017-07-25 12:02:33 +05:30
Ben Sander
149ec02e84
Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough)
...
[ROCm/hip commit: 67f5d2de3d ]
2017-07-24 18:57:19 -05:00
sunway513
d8d3016e88
Update Jenkinsfile to run all the built tests
...
[ROCm/hip commit: 6f359dfbe6 ]
2017-07-24 19:02:00 +00:00
sunway513
64a3220246
Re-enable hipEnvVarDriver in Jenkinsfile
...
[ROCm/hip commit: 1275ceed67 ]
2017-07-24 18:53:46 +00:00
sunway513
286ab981a9
Fix indentation, binary path and add wait on popen calls to hipEnvVar test
...
[ROCm/hip commit: 81bc82d166 ]
2017-07-24 17:16:13 +00:00
Maneesh Gupta
d2ac2d20da
[ci] Exclude sporadically failing test in CI only
...
Change-Id: If76bc89d39aa35f5c246cbcd41a997b580832450
[ROCm/hip commit: 4b8931f717 ]
2017-07-24 15:16:41 +05:30
Aditya Atluri
6dc545d921
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
[ROCm/hip commit: 961440b593 ]
2017-07-21 15:50:12 -05:00
Maneesh Gupta
9ce8abb1ed
Renable frexp(f) device math function
...
Change-Id: I53c022b8ddf38cd17ddb42eba457b9020db66395
[ROCm/hip commit: 7a446dcbc5 ]
2017-07-20 14:41:30 +05:30
Maneesh Gupta
60293c4c42
[dt] hip_texture.h -> hip_texture_types.h
...
Change-Id: If106efa0a2e52105d4025706fdbc291c27352a74
[ROCm/hip commit: 9d5d4f9abb ]
2017-07-19 12:46:18 +05:30
Maneesh Gupta
8559152159
Merge pull request #106 from kknox/repo-fix
...
[ci] Remove repo.radeon.com build-args; HiP CI unit tests running
[ROCm/hip commit: bd9fa80987 ]
2017-07-19 10:00:59 +05:30
Rahul Garg
298fa00e8c
Enable memcpytosymbol family functions test
...
[ROCm/hip commit: 039f62213b ]
2017-07-18 12:37:37 +05:30
Maneesh Gupta
8be2193986
Merge pull request #102 from mangupta/disable_broken_tests
...
[dt] temporarily disable broken tests
[ROCm/hip commit: 6329b77ead ]
2017-07-18 11:34:49 +05:30
Maneesh Gupta
3e230cfcc6
[dt] temporarily disable broken tests
...
Change-Id: I3ce23e410dc36e06d460263d768412f8368a6699
[ROCm/hip commit: b3a9e202b1 ]
2017-07-18 11:17:02 +05:30
Maneesh Gupta
f4ca1c96c4
Don't crash for hipEventDestroy(NULL)
...
Change-Id: I3f4de1ad2712dbe8af81e10c5d3bef16d468c582
[ROCm/hip commit: 7ddb6b6b76 ]
2017-07-18 11:01:02 +05:30
Weixing Zhang
65bec11393
HIP Texture Support
...
[ROCm/hip commit: e671cec367 ]
2017-07-17 15:16:12 -04:00
Kent Knox
c5104f9fca
[ci] Fixes to remove repo.radeon.com build-args
...
HiP docker images should inherit the repo information from the hcc image,
so no need to duplicate in HiP again
[ROCm/hip commit: ed82afad2e ]
2017-07-14 17:28:16 -05:00
Maneesh Gupta
ee697e8c4c
remove unsupported erf(c)inv related host functionality
...
Change-Id: I665c33616359a0124b5552076359d2f8faa54930
[ROCm/hip commit: 7066ff4478 ]
2017-07-14 11:31:40 +05:30
Wen-Heng (Jack) Chung
a80bc4c3b6
Temporarily disables HCC_OPT_FLUSH
...
Change-Id: I290791e58dd52ab3823f6c3315e42b0d386e9d64
[ROCm/hip commit: 17555eabc0 ]
2017-07-12 16:08:36 +00:00
Wen-Heng (Jack) Chung
a4d39f50a1
Fix hip_db header inclusion path
...
Change-Id: I8a95798301de73887dde3316dc593a1847002712
[ROCm/hip commit: 35ebfda9d4 ]
2017-07-12 16:08:20 +00:00
Maneesh Gupta
5f522176f8
Merge pull request #97 from whchung/remove-address-spaces
...
Remove explicit address spaces declarations
[ROCm/hip commit: 31f80182ca ]
2017-07-11 11:36:53 +05:30
Maneesh Gupta
02bb8f3b1a
[ci] Pass IP for repo.radeon.com as docker buildargs
...
[ROCm/hip commit: 7ba09c4137 ]
2017-07-11 11:21:53 +05:30
Wen-Heng (Jack) Chung
f28a1365f8
Remove explicit address spaces declarations
...
[ROCm/hip commit: 30ee797dd4 ]
2017-07-07 12:46:29 -05:00
Maneesh Gupta
390d0d5ef0
[ci] Use new repo server
...
[ROCm/hip commit: 17a58bdca5 ]
2017-07-07 10:36:05 +05:30
Maneesh Gupta
6e65a8ccbb
Merge pull request #93 from kknox/jenkins-ci-squash
...
Initial Jenkinsfile and dockerfiles for CI
[ROCm/hip commit: 16ba11c9c8 ]
2017-07-06 12:21:49 +05:30
Maneesh Gupta
e441ff01bb
ignore build directory
...
Change-Id: I227ac377b6eed3aee1cf2121de00c86f34c12405
[ROCm/hip commit: 85cd86c3bd ]
2017-07-05 11:45:18 +05:30
Maneesh Gupta
19ecde4011
GPUOpen-ProfessionalCompute-Tools -> ROCm-Developer-Tools
...
Change-Id: I9f5b29dd1097385acecb0c672770d8adca2fdcf7
[ROCm/hip commit: db959e648b ]
2017-07-05 11:44:44 +05:30
Ben Sander
042ed2c38f
Add hipdbPrintMem - wrapper for hcc memory tracker.
...
[ROCm/hip commit: 0459f3db72 ]
2017-07-03 15:05:30 -05:00
Sun, Peng
ac6d9e6c5c
fix typo in hipcc
...
Change-Id: I5f5fb3d8f1e5e8104dca45dc213c13ae9d98a583
[ROCm/hip commit: 40d0a203f8 ]
2017-07-01 09:43:31 -05:00
Rahul Garg
9498754cf6
Fixed build error in hipDeviceGetByPCIBusId
...
Change-Id: I33be362910c4c5dca7435fb9c41f427b54f0e9a7
[ROCm/hip commit: 34fcaa23bb ]
2017-07-01 07:56:30 +05:30
Ben Sander
ba0215ad9f
Set default HIP_SYNC_NULL_STREAM=1.
...
[ROCm/hip commit: 626b5191e8 ]
2017-06-30 19:01:14 -05:00
Ben Sander
15527645f1
Refactor hip_hcc.
...
Don't require setting __HIP_PLATFORM_HCC__ ; Instead check if compiler is HCC.
The functions here use HCC-specific functionality so only work with HCC.
ANd they work regardless of the __HIP_PLATFORM_HCC__ setting so don't
require that.
Also remove the "hcc_detail" extra hierarchy level for hip_hcc.h as
it is not necessary. Remove hcc_detail/hip_hcc.h.
[ROCm/hip commit: 9c229f7530 ]
2017-06-30 08:26:15 -05:00