Commit Graph

11608 Commits

Author SHA1 Message Date
Yifan Sun 1edab9f118 Allow hip cmake to link libraries
[ROCm/clr commit: 679075e2f0]
2017-07-27 11:46:18 -04:00
Evgeny Mankov e586926eb7 [HIPIFY] CUDA RT Textures support
[ROCm/clr commit: fa7719b5b5]
2017-07-27 18:39:40 +03:00
foreman ebbda19ce1 P4 to Git Change 1440143 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/27 03:00:05
SWDEV-2 - Change OpenCL version number from 2462 to 2463.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2210 edit


[ROCm/clr commit: bbce92464b]
2017-07-27 03:18:48 -04:00
Maneesh Gupta 97edbda54d Merge pull request #116 from bensander/enable_coh_host
Make host memory allocations coherent by default.

[ROCm/clr commit: 9086c14936]
2017-07-27 10:45:32 +05:30
Ben Sander a5b3f825c2 Merge pull request #100 from weixingzhang/texture
HIP Texture Support

[ROCm/clr commit: 702651fc85]
2017-07-26 19:28:15 -05:00
Ben Sander 03e01439aa Merge pull request #114 from emankov/master
[HIPIFY] CUDA Stream Callback support

[ROCm/clr commit: 1be14ad733]
2017-07-26 19:27:05 -05:00
Ben Sander 70783958f3 Merge pull request #113 from mangupta/avoid_rebuild_cache
[cmake] No longer rebuild cmake cache on each build

[ROCm/clr commit: 9e120e3dd3]
2017-07-26 19:24:43 -05:00
Ben Sander 235b60165f 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/clr commit: 6576201ec2]
2017-07-26 19:20:34 -05:00
Ben Sander 7eeb6e4d9d Update release notes.
[ROCm/clr commit: e29a53f4a6]
2017-07-26 19:03:32 -05:00
foreman 8d6240ee4e P4 to Git Change 1439905 by cpaquot@cpaquot-ocl-lc-lnx on 2017/07/26 15:57:06
SWDEV-121486 - Clean up sampler list if we run out of memory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#42 edit


[ROCm/clr commit: 3a805c96cc]
2017-07-26 16:14:35 -04:00
Evgeny Mankov 7428857399 [HIPIFY] CUDA Stream Callback support
[ROCm/clr commit: af9dadf20a]
2017-07-26 19:29:50 +03:00
Maneesh Gupta 013f6cd0cc [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/clr commit: 1b5d19ff36]
2017-07-26 13:51:32 +05:30
foreman afb1ee54cf P4 to Git Change 1439543 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/26 03:00:03
SWDEV-2 - Change OpenCL version number from 2461 to 2462.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2209 edit


[ROCm/clr commit: 0b5300069f]
2017-07-26 03:22:03 -04:00
Evgeny Mankov 7fab0b5ecc [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/clr commit: 9b10efe419]
2017-07-26 09:38:03 +05:30
foreman 1287a96b3d P4 to Git Change 1439116 by jatang@jatang-opencl-hsa-stg1 on 2017/07/25 11:47:36
SWDEV-95919 - Make sure PerfCounters_Start, Kernel_dispatch, and PerfCounters_End are in the same command buffer.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#85 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#38 edit


[ROCm/clr commit: 18617446da]
2017-07-25 12:01:02 -04:00
foreman fef9954845 P4 to Git Change 1438847 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/25 03:00:06
SWDEV-2 - Change OpenCL version number from 2460 to 2461.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2208 edit


[ROCm/clr commit: 8a40282f4a]
2017-07-25 03:14:06 -04:00
Maneesh Gupta f2ee8ffd69 Merge pull request #111 from bensander/master
Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough)

[ROCm/clr commit: c5790aed94]
2017-07-25 12:02:33 +05:30
Ben Sander 0e9272cfd7 Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough)
[ROCm/clr commit: cdc4291431]
2017-07-24 18:57:19 -05:00
sunway513 3015b8a12d Update Jenkinsfile to run all the built tests
[ROCm/clr commit: af8d028aa4]
2017-07-24 19:02:00 +00:00
sunway513 cf850a4bc7 Re-enable hipEnvVarDriver in Jenkinsfile
[ROCm/clr commit: ebd9708dfe]
2017-07-24 18:53:46 +00:00
sunway513 237d1318b2 Fix indentation, binary path and add wait on popen calls to hipEnvVar test
[ROCm/clr commit: 046e9c570d]
2017-07-24 17:16:13 +00:00
Maneesh Gupta 535fe58919 [ci] Exclude sporadically failing test in CI only
Change-Id: If76bc89d39aa35f5c246cbcd41a997b580832450


[ROCm/clr commit: db24ee4cfa]
2017-07-24 15:16:41 +05:30
foreman 11cf3ccd96 P4 to Git Change 1437971 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/22 03:00:04
SWDEV-2 - Change OpenCL version number from 2459 to 2460.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2207 edit


[ROCm/clr commit: 5f2839e8dd]
2017-07-22 03:14:07 -04:00
Aditya Atluri 44c2efd050 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/clr commit: b10962a539]
2017-07-21 15:50:12 -05:00
foreman 972844e6bc P4 to Git Change 1437475 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/21 03:00:03
SWDEV-2 - Change OpenCL version number from 2458 to 2459.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2206 edit


[ROCm/clr commit: 9ac2fe6abe]
2017-07-21 03:13:44 -04:00
Maneesh Gupta f29245a846 Renable frexp(f) device math function
Change-Id: I53c022b8ddf38cd17ddb42eba457b9020db66395


[ROCm/clr commit: 1bd1c6bea8]
2017-07-20 14:41:30 +05:30
foreman 7df80cd347 P4 to Git Change 1436699 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/20 03:00:03
SWDEV-2 - Change OpenCL version number from 2457 to 2458.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2205 edit


[ROCm/clr commit: afabd5aa33]
2017-07-20 03:15:14 -04:00
foreman cf0f708d64 P4 to Git Change 1436555 by rili@rili-new-stg-pal-opencl on 2017/07/19 18:26:28
SWDEV-126720 - Use 64bits instead of 32bits for allocation size

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#29 edit


[ROCm/clr commit: 7f451bbcec]
2017-07-19 21:32:52 -04:00
foreman 98e70cf011 P4 to Git Change 1436523 by rili@rili-new-stg-pal-opencl on 2017/07/19 17:05:50
SWDEV-126720 - Increase MAX_SINGLE_ALLOC_PERCENT from 75% to 85%.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#274 edit


[ROCm/clr commit: 048ffb882b]
2017-07-19 20:44:08 -04:00
Maneesh Gupta ec7b63afcd [dt] hip_texture.h -> hip_texture_types.h
Change-Id: If106efa0a2e52105d4025706fdbc291c27352a74


[ROCm/clr commit: 2448b6ee90]
2017-07-19 12:46:18 +05:30
foreman 87c9265a13 P4 to Git Change 1436108 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/19 03:00:04
SWDEV-2 - Change OpenCL version number from 2456 to 2457.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2204 edit


[ROCm/clr commit: 04b3eaa50c]
2017-07-19 03:10:35 -04:00
Maneesh Gupta 46b5ca8681 Merge pull request #106 from kknox/repo-fix
[ci] Remove repo.radeon.com build-args; HiP CI unit tests running 

[ROCm/clr commit: 8d038399ea]
2017-07-19 10:00:59 +05:30
foreman 99786d968e P4 to Git Change 1435469 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/18 03:00:06
SWDEV-2 - Change OpenCL version number from 2455 to 2456.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2203 edit


[ROCm/clr commit: 453919dd2f]
2017-07-18 03:17:59 -04:00
Rahul Garg f3b112716e Enable memcpytosymbol family functions test
[ROCm/clr commit: f2d6da3e34]
2017-07-18 12:37:37 +05:30
Maneesh Gupta 9ef1519512 Merge pull request #102 from mangupta/disable_broken_tests
[dt] temporarily disable broken tests

[ROCm/clr commit: a363fce9b9]
2017-07-18 11:34:49 +05:30
Maneesh Gupta 1d986efecf [dt] temporarily disable broken tests
Change-Id: I3ce23e410dc36e06d460263d768412f8368a6699


[ROCm/clr commit: 814eddcd96]
2017-07-18 11:17:02 +05:30
Maneesh Gupta a73a17763d Don't crash for hipEventDestroy(NULL)
Change-Id: I3f4de1ad2712dbe8af81e10c5d3bef16d468c582


[ROCm/clr commit: 21de66889c]
2017-07-18 11:01:02 +05:30
Weixing Zhang d9abb032f7 HIP Texture Support
[ROCm/clr commit: ccbd3b13fc]
2017-07-17 15:16:12 -04:00
foreman fc8ab36c8c P4 to Git Change 1435037 by lmoriche@lmoriche_opencl_dev2 on 2017/07/17 12:36:11
SWDEV-127280 - Expose CL_DEVICE_GFXIP_MINOR_AMD/CL_DEVICE_GFXIP_MAJOR_AMD even though cl_amd_device_attribute_query is not yet supported on OpenCL/ROCm.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#57 edit


[ROCm/clr commit: 660650d441]
2017-07-17 13:26:27 -04:00
foreman 443e88af68 P4 to Git Change 1434689 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/15 03:00:05
SWDEV-2 - Change OpenCL version number from 2454 to 2455.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2202 edit


[ROCm/clr commit: a77399a76b]
2017-07-15 03:15:51 -04:00
Kent Knox ac0d220179 [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/clr commit: 6766c2adb8]
2017-07-14 17:28:16 -05:00
foreman 97db85c5c4 P4 to Git Change 1434399 by lmoriche@lmoriche_palamida on 2017/07/14 14:29:20
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Update from git.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#7 edit


[ROCm/clr commit: dfd8394134]
2017-07-14 14:54:24 -04:00
foreman 5f292bd52d P4 to Git Change 1434399 by lmoriche@lmoriche_palamida on 2017/07/14 14:29:20
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Update from git.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#7 edit


[ROCm/clr commit: ca5e8526e0]
2017-07-14 14:54:24 -04:00
foreman e51470f3a8 P4 to Git Change 1434168 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/14 03:00:04
SWDEV-2 - Change OpenCL version number from 2453 to 2454.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2201 edit


[ROCm/clr commit: 8e68958b18]
2017-07-14 03:15:43 -04:00
Maneesh Gupta 59bf223264 remove unsupported erf(c)inv related host functionality
Change-Id: I665c33616359a0124b5552076359d2f8faa54930


[ROCm/clr commit: cc6e6b2a0a]
2017-07-14 11:31:40 +05:30
foreman e0a07f6b25 P4 to Git Change 1433795 by lmoriche@lmoriche_opencl_dev2 on 2017/07/13 13:32:24
SWDEV-102733 - Use the embedded compiler library for OCL/ROCm/HSAIL when BUILD_HSA_TARGET != yes

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompilerlib.cpp#7 edit


[ROCm/clr commit: 9e7caf977b]
2017-07-13 14:18:44 -04:00
foreman 42ad686c61 P4 to Git Change 1433763 by lmoriche@lmoriche_opencl_dev2 on 2017/07/13 12:41:17
SWDEV-102733 - Remove an old instance var that was used by the finalizer path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#13 edit


[ROCm/clr commit: 2aad2059f9]
2017-07-13 13:46:40 -04:00
Wen-Heng (Jack) Chung c824a3ea0c Temporarily disables HCC_OPT_FLUSH
Change-Id: I290791e58dd52ab3823f6c3315e42b0d386e9d64


[ROCm/clr commit: 32909c4a92]
2017-07-12 16:08:36 +00:00
Wen-Heng (Jack) Chung 608adc7bbe Fix hip_db header inclusion path
Change-Id: I8a95798301de73887dde3316dc593a1847002712


[ROCm/clr commit: 0dcfd2b909]
2017-07-12 16:08:20 +00:00
Maneesh Gupta 05a92695a5 Merge pull request #97 from whchung/remove-address-spaces
Remove explicit address spaces declarations

[ROCm/clr commit: d4b908182d]
2017-07-11 11:36:53 +05:30