Commit Graph

1809 Commits

Author SHA1 Message Date
Ben Sander 98f09debbb Merge pull request #119 from emankov/master
[HIPIFY] CUDA RT Textures support
2017-07-28 12:12:41 -05:00
Maneesh Gupta 375ec84bc6 Merge pull request #127 from bensander/pass_module_kname
Pass kernel name to HCC dispatch_hsa_kernel, for debug/profile
2017-07-28 10:19:15 +05:30
Ben Sander 4980a6d3ab Add workweek check to make sure we have a new enough compiler 2017-07-27 23:00:58 -05:00
Maneesh Gupta fcc294ed41 Merge pull request #122 from bensander/enable_async_null_stream
Set HIP_SYNC_NULL_STREAM=0.
2017-07-28 09:15:56 +05:30
Maneesh Gupta 821f8b9e02 Merge pull request #121 from syifan/master
Allow hip cmake to link libraries
2017-07-28 09:12:15 +05:30
Ben Sander 3a4dfc0f85 Pass kernel name to HCC dispatch_hsa_kernel, for debug/profile 2017-07-27 22:00:15 -05:00
Evgeny Mankov d614f53ad7 Update Cuda2Hip.cpp 2017-07-28 01:45:24 +03:00
Evgeny Mankov bcca169631 Update CUDA_Runtime_API_functions_supported_by_HIP.md 2017-07-28 01:41:14 +03:00
Evgeny Mankov 36a9ccacb6 Update CUDA_Runtime_API_functions_supported_by_HIP.md 2017-07-28 01:38:50 +03:00
Ben Sander 9cede50942 Merge pull request #110 from sunway513/fix_hipEnvVar_test
Fix hipEnvVar test
2017-07-27 13:03:43 -05:00
sunway513 ed0d6cf745 Change to use hipDeviceGetPCIBusId api for hipEnvVarDriver test 2017-07-27 17:41:49 +00:00
Ben Sander 77fb9893b4 Set HIP_SYNC_NULL_STREAM=0.
Optimizes null stream synchronization so it uses GPU-side dependency
resolution. Requires HCC __hcc_workweek__ > 17300.
2017-07-27 11:11:54 -05:00
Yifan Sun 0aaa800109 Allow hip cmake to link libraries 2017-07-27 11:46:18 -04:00
Evgeny Mankov ffcf5d32a0 [HIPIFY] CUDA RT Textures support 2017-07-27 18:39:40 +03:00
Maneesh Gupta 526fcb1223 Merge pull request #116 from bensander/enable_coh_host
Make host memory allocations coherent by default.
2017-07-27 10:45:32 +05:30
Ben Sander 4f93b99f23 Merge pull request #100 from weixingzhang/texture
HIP Texture Support
2017-07-26 19:28:15 -05:00
Ben Sander bcdc6681fa Merge pull request #114 from emankov/master
[HIPIFY] CUDA Stream Callback support
2017-07-26 19:27:05 -05:00
Ben Sander 50546c7866 Merge pull request #113 from mangupta/avoid_rebuild_cache
[cmake] No longer rebuild cmake cache on each build
2017-07-26 19:24:43 -05:00
Ben Sander 5589c59605 Merge pull request #115 from bensander/README
Update release notes.
2017-07-26 19:23:26 -05:00
Ben Sander 8b8e97ff28 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.
2017-07-26 19:20:34 -05:00
Ben Sander d9d9a8620f Update release notes. 2017-07-26 19:03:32 -05:00
Evgeny Mankov 368aebc4bc [HIPIFY] CUDA Stream Callback support 2017-07-26 19:29:50 +03:00
Maneesh Gupta e63c8494fd [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
2017-07-26 13:51:32 +05:30
Evgeny Mankov 85e6593a1b [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
2017-07-26 09:38:03 +05:30
Maneesh Gupta f420af64d0 Merge pull request #111 from bensander/master
Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough)
2017-07-25 12:02:33 +05:30
Ben Sander 67f5d2de3d Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough) 2017-07-24 18:57:19 -05:00
sunway513 6f359dfbe6 Update Jenkinsfile to run all the built tests 2017-07-24 19:02:00 +00:00
sunway513 1275ceed67 Re-enable hipEnvVarDriver in Jenkinsfile 2017-07-24 18:53:46 +00:00
sunway513 81bc82d166 Fix indentation, binary path and add wait on popen calls to hipEnvVar test 2017-07-24 17:16:13 +00:00
Maneesh Gupta bb5128a0ab Merge pull request #109 from mangupta/disable_failing_tests
[ci] Exclude sporadically failing test in CI only
2017-07-24 20:22:45 +05:30
Maneesh Gupta 4b8931f717 [ci] Exclude sporadically failing test in CI only
Change-Id: If76bc89d39aa35f5c246cbcd41a997b580832450
2017-07-24 15:16:41 +05:30
Ben Sander 3a57ba989f Merge pull request #108 from adityaatluri/enum-fix
fixed device selection during compilation to use rocm_agent_enumerator
2017-07-21 16:42:48 -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
Maneesh Gupta 050629a934 Merge pull request #107 from mangupta/enable_frexp
Renable frexp(f) device math function
2017-07-20 14:58:45 +05:30
Maneesh Gupta 7a446dcbc5 Renable frexp(f) device math function
Change-Id: I53c022b8ddf38cd17ddb42eba457b9020db66395
2017-07-20 14:41:30 +05:30
Maneesh Gupta 9d5d4f9abb [dt] hip_texture.h -> hip_texture_types.h
Change-Id: If106efa0a2e52105d4025706fdbc291c27352a74
2017-07-19 12:46:18 +05:30
Maneesh Gupta bd9fa80987 Merge pull request #106 from kknox/repo-fix
[ci] Remove repo.radeon.com build-args; HiP CI unit tests running
2017-07-19 10:00:59 +05:30
Maneesh Gupta 419dc78678 Merge pull request #103 from gargrahul/enable_memcpytosymbol_tests
Enable memcpytosymbol family functions test
2017-07-18 14:56:01 +05:30
Rahul Garg 039f62213b Enable memcpytosymbol family functions test 2017-07-18 12:37:37 +05:30
Maneesh Gupta 6329b77ead Merge pull request #102 from mangupta/disable_broken_tests
[dt] temporarily disable broken tests
2017-07-18 11:34:49 +05:30
Maneesh Gupta 719a5fdeb5 Merge pull request #101 from mangupta/issue47
Don't crash for hipEventDestroy(NULL)
2017-07-18 11:18:23 +05:30
Maneesh Gupta b3a9e202b1 [dt] temporarily disable broken tests
Change-Id: I3ce23e410dc36e06d460263d768412f8368a6699
2017-07-18 11:17:02 +05:30
Maneesh Gupta 7ddb6b6b76 Don't crash for hipEventDestroy(NULL)
Change-Id: I3f4de1ad2712dbe8af81e10c5d3bef16d468c582
2017-07-18 11:01:02 +05:30
Weixing Zhang e671cec367 HIP Texture Support 2017-07-17 15:16:12 -04:00
Maneesh Gupta 205b98af10 Merge pull request #99 from mangupta/remove_host_erfinv
remove unsupported erf(c)inv related host functionality
2017-07-17 12:23:11 +05:30
Kent Knox ed82afad2e [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
2017-07-14 17:28:16 -05:00
Maneesh Gupta 7066ff4478 remove unsupported erf(c)inv related host functionality
Change-Id: I665c33616359a0124b5552076359d2f8faa54930
2017-07-14 11:31:40 +05:30
Maneesh Gupta f3496ac2f0 Merge pull request #98 from whchung/disable_hcc_opt_flush
Disable HCC_OPT_FLUSH
2017-07-13 11:16:54 +05:30
Wen-Heng (Jack) Chung 17555eabc0 Temporarily disables HCC_OPT_FLUSH
Change-Id: I290791e58dd52ab3823f6c3315e42b0d386e9d64
2017-07-12 16:08:36 +00:00
Wen-Heng (Jack) Chung 35ebfda9d4 Fix hip_db header inclusion path
Change-Id: I8a95798301de73887dde3316dc593a1847002712
2017-07-12 16:08:20 +00:00