Grafico dei commit

1820 Commit

Autore SHA1 Messaggio Data
Maneesh Gupta 172a568aa6 [texture] guard new HCC APIs under workweek
Change-Id: I4f60a64fb0b0496ca1eb01ffe6ddda121c25d976
2017-08-15 15:51:38 +05:30
Weixing Zhang e4de2d1138 [HIP Texture] The GPU virtual address for texture memory needs to be
aligned.

In hcc_am, a bigger buffer will be allocated for alignment purpose
and _unalignedDevicePointer is added in struct AmPointerInfo for
original allocated address.
2017-08-08 11:18:00 -04:00
Ben Sander 3061e394bf Merge pull request #136 from mangupta/update_install_markdown
[doc] Add details of HIP build time dependencies to INSTALL.md
2017-07-31 11:05:30 -05:00
Ben Sander 3ed8c6c034 Merge pull request #128 from mangupta/cleanup_amdgpu_target_logic
[hipcc] Cleanup amdgpu target logic
2017-07-31 11:05:06 -05:00
Maneesh Gupta 87e71ae681 [doc] Add details of HIP build time dependencies to INSTALL.md
Change-Id: Iee87d1345aba716d0ce49f7afb45ba073a16be88
2017-07-31 14:57:32 +05:30
Maneesh Gupta 9ded1d02a1 Merge pull request #134 from gargrahul/fix_hipMemcpy2DAsync
fix hipMemcpy2DAsync
2017-07-31 10:27:18 +05:30
Maneesh Gupta 06b51109c6 Merge pull request #135 from bensander/fix_tracing
Some fixes to tracing.
2017-07-31 10:24:41 +05:30
Maneesh Gupta 8f6c150134 [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
Ben Sander 9e9f384899 Some fixes to tracing. 2017-07-28 22:13:43 -05:00
Rahul Garg 320ae86d44 fix hipMemcpy2DAsync 2017-07-29 06:50:56 +05:30
Ben Sander fad59ea8c3 Merge pull request #119 from emankov/master
[HIPIFY] CUDA RT Textures support
2017-07-28 12:12:41 -05:00
Maneesh Gupta 2a2c7575eb [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
Maneesh Gupta 791063ad6e 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 2781293e89 Add workweek check to make sure we have a new enough compiler 2017-07-27 23:00:58 -05:00
Maneesh Gupta 8330fb3fe0 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 6835f5ac59 Merge pull request #121 from syifan/master
Allow hip cmake to link libraries
2017-07-28 09:12:15 +05:30
Ben Sander a282351763 Pass kernel name to HCC dispatch_hsa_kernel, for debug/profile 2017-07-27 22:00:15 -05:00
Evgeny Mankov 6c5adf42dd Update Cuda2Hip.cpp 2017-07-28 01:45:24 +03:00
Evgeny Mankov 4486f91350 Update CUDA_Runtime_API_functions_supported_by_HIP.md 2017-07-28 01:41:14 +03:00
Evgeny Mankov 681dd9e14d Update CUDA_Runtime_API_functions_supported_by_HIP.md 2017-07-28 01:38:50 +03:00
Ben Sander bd563bf761 Merge pull request #110 from sunway513/fix_hipEnvVar_test
Fix hipEnvVar test
2017-07-27 13:03:43 -05:00
sunway513 b7c34fb80f Change to use hipDeviceGetPCIBusId api for hipEnvVarDriver test 2017-07-27 17:41:49 +00:00
Ben Sander cd42711134 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 679075e2f0 Allow hip cmake to link libraries 2017-07-27 11:46:18 -04:00
Evgeny Mankov fa7719b5b5 [HIPIFY] CUDA RT Textures support 2017-07-27 18:39:40 +03:00
Maneesh Gupta 9086c14936 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 702651fc85 Merge pull request #100 from weixingzhang/texture
HIP Texture Support
2017-07-26 19:28:15 -05:00
Ben Sander 1be14ad733 Merge pull request #114 from emankov/master
[HIPIFY] CUDA Stream Callback support
2017-07-26 19:27:05 -05:00
Ben Sander 9e120e3dd3 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 ed9647ad25 Merge pull request #115 from bensander/README
Update release notes.
2017-07-26 19:23:26 -05:00
Ben Sander 6576201ec2 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 e29a53f4a6 Update release notes. 2017-07-26 19:03:32 -05:00
Evgeny Mankov af9dadf20a [HIPIFY] CUDA Stream Callback support 2017-07-26 19:29:50 +03:00
Maneesh Gupta 1b5d19ff36 [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 9b10efe419 [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 c5790aed94 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 cdc4291431 Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough) 2017-07-24 18:57:19 -05:00
sunway513 af8d028aa4 Update Jenkinsfile to run all the built tests 2017-07-24 19:02:00 +00:00
sunway513 ebd9708dfe Re-enable hipEnvVarDriver in Jenkinsfile 2017-07-24 18:53:46 +00:00
sunway513 046e9c570d Fix indentation, binary path and add wait on popen calls to hipEnvVar test 2017-07-24 17:16:13 +00:00
Maneesh Gupta efdb6608aa 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 db24ee4cfa [ci] Exclude sporadically failing test in CI only
Change-Id: If76bc89d39aa35f5c246cbcd41a997b580832450
2017-07-24 15:16:41 +05:30
Ben Sander 5fdcdf72bd 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 b10962a539 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 99fbfdf9dc Merge pull request #107 from mangupta/enable_frexp
Renable frexp(f) device math function
2017-07-20 14:58:45 +05:30
Maneesh Gupta 1bd1c6bea8 Renable frexp(f) device math function
Change-Id: I53c022b8ddf38cd17ddb42eba457b9020db66395
2017-07-20 14:41:30 +05:30
Maneesh Gupta 2448b6ee90 [dt] hip_texture.h -> hip_texture_types.h
Change-Id: If106efa0a2e52105d4025706fdbc291c27352a74
2017-07-19 12:46:18 +05:30
Maneesh Gupta 8d038399ea 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 35193c6eac Merge pull request #103 from gargrahul/enable_memcpytosymbol_tests
Enable memcpytosymbol family functions test
2017-07-18 14:56:01 +05:30
Rahul Garg f2d6da3e34 Enable memcpytosymbol family functions test 2017-07-18 12:37:37 +05:30