Wykres commitów

13474 Commity

Autor SHA1 Wiadomość Data
foreman c0cdecf544 P4 to Git Change 1444296 by lmoriche@lmoriche_palamida on 2017/08/08 00:10:29
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Disable LLVM object compression. Allows closed source LLVM binaries to run with the open source runtime
	- Define the DEBUG macro for Debug build types
	- Use the prepared amdgcn lib instead of the static lib when generating the .bc includes for the runtime.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#8 edit
2017-08-08 00:31:20 -04:00
Rahul Garg a8512b7597 docs update for memcpytosymbol support 2017-08-08 09:13:12 +05:30
Rahul Garg c4e9323877 Updated context management logic:
1) hipSetDevice sets a flag so that next call to hipCtxGetCurrent returns primary context on current device
2) hipCtxGetCurrent returns primary context on current device if TLS context stack is empty
3) hipCtxPopCurrent falls back to primary context on current device as default
4) hipCtxPushCurrent, hipCtxSetCurrent and hipCtxCreate reset the flag set in hipSetDevice
2017-08-08 07:02:22 +05:30
foreman bc473f8a3c P4 to Git Change 1444178 by lmoriche@lmoriche_opencl_dev2 on 2017/08/07 14:50:37
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Use the internal libelf instead of the system's when building with cmake.
	- Don't include codecvt if WITH_LIQUID_FLASH is not defined
	- Don't memset the device::Kernel::workGroupInfo_, there's a std::string in it. The constructor already zeroes all the fields.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#8 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#25 edit
2017-08-07 15:00:33 -04:00
foreman fdba30e5cc P4 to Git Change 1444178 by lmoriche@lmoriche_opencl_dev2 on 2017/08/07 14:50:37
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Use the internal libelf instead of the system's when building with cmake.
	- Don't include codecvt if WITH_LIQUID_FLASH is not defined
	- Don't memset the device::Kernel::workGroupInfo_, there's a std::string in it. The constructor already zeroes all the fields.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#8 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#25 edit
2017-08-07 15:00:33 -04:00
foreman 11d000a8c4 P4 to Git Change 1443936 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/05 03:00:05
SWDEV-2 - Change OpenCL version number from 2469 to 2470.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2217 edit
2017-08-05 03:18:14 -04:00
foreman 543cc3223a P4 to Git Change 1443821 by asalmanp@asalmanp-ocl-stg on 2017/08/04 16:24:19
SWDEV-79278 - [OCL][PAL] use HwPipeBottom to query the start time of an event.
	The reason is that if there are many dispatches run in a loop with profiling enabled, then it is possible that the HwPipeStart of an event can occur before the HwPipeBottom of the previous dispatch and this will affect the timing reported by profiling.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/13242/diff/1/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltimestamp.cpp#3 edit
2017-08-04 16:48:42 -04:00
foreman bc2edb53b1 P4 to Git Change 1443478 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/04 03:00:04
SWDEV-2 - Change OpenCL version number from 2468 to 2469.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2216 edit
2017-08-04 03:17:42 -04:00
foreman 5c3633dd1f P4 to Git Change 1442964 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/03 03:00:04
SWDEV-2 - Change OpenCL version number from 2467 to 2468.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2215 edit
2017-08-03 03:41:56 -04:00
foreman 734b880d80 P4 to Git Change 1442704 by lmoriche@lmoriche_opencl_dev2 on 2017/08/02 14:33:33
SWDEV-1 - Add the required license files.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/LICENSE.TXT#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/LICENSE.TXT#1 add
2017-08-02 14:55:45 -04:00
foreman 994c4018f6 P4 to Git Change 1442652 by bsumner@bsumner-lin-opencl on 2017/08/02 13:00:18
SWDEV-129003 - fix incorrect code for pal device

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#43 edit
2017-08-02 13:13:59 -04:00
foreman 786006f223 P4 to Git Change 1442616 by bsumner@bsumner-lin-opencl on 2017/08/02 11:33:24
SWDEV-129003 - correct logic for library control to fix regression

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#68 edit
2017-08-02 11:50:30 -04:00
foreman 47b228ee67 P4 to Git Change 1442588 by jatang@jatang-opencl-hsa-stg2 on 2017/08/02 10:51:02
SWDEV-95919 - Expose all counters PAL supports.

	At the request from CodeXL, and with the counter block index list provided by CodeXL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#13 edit
2017-08-02 11:39:21 -04:00
Rahul Garg f916a7654e Disable failing test p2p_copy_coherency 2017-08-02 14:47:13 +05:30
Siu Chi Chan b6e22b5c93 implement __threadfence_system 2017-08-02 08:50:18 +00:00
foreman e758c4da35 P4 to Git Change 1442443 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/02 03:00:05
SWDEV-2 - Change OpenCL version number from 2466 to 2467.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2214 edit
2017-08-02 03:12:14 -04:00
foreman c3b49d2ce1 P4 to Git Change 1442310 by gandryey@gera-w8 on 2017/08/01 18:13:31
SWDEV-128975 - Enable khr FP16 extension from runtime

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#20 edit
2017-08-01 18:25:45 -04:00
foreman a8f8ab14f0 P4 to Git Change 1442246 by bsumner@bsumner-lin-opencl on 2017/08/01 16:04:23
SWDEV-128916 - use AMD_GPU_FORCE_SINGLE_FP_DENORM in determining daz_opt library control

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#67 edit
2017-08-01 16:19:37 -04:00
Jenkins ec23826498 Merge 'master' into 'amd-master'
Change-Id: Id400e2e3c0fa393ca934634dee46496aca8ade21
2017-08-01 04:11:20 -05:00
foreman 5cf9593233 P4 to Git Change 1441906 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/01 03:00:04
SWDEV-2 - Change OpenCL version number from 2465 to 2466.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2213 edit
2017-08-01 03:11:39 -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
Jenkins b7ec447657 Merge 'master' into 'amd-master'
Change-Id: I510b01084b5aad8382044fe828a099896fa12aff
2017-07-31 04:11:17 -05:00
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
foreman 55a79e227a P4 to Git Change 1441225 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/29 03:00:04
SWDEV-2 - Change OpenCL version number from 2464 to 2465.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2212 edit
2017-07-29 03:13:41 -04:00
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
foreman 6b27cc35a1 P4 to Git Change 1440849 by jatang@jatang-opencl-hsa-stg1 on 2017/07/28 10:17:34
SWDEV-95919 - Avoid flushing when PerfCounter is enabled.

	To make sure PerfStart/dispatch/PerfEnd are in the same cmdBuffer

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#27 edit
2017-07-28 10:35:46 -04: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
foreman e69572cd38 P4 to Git Change 1440715 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/28 03:00:04
SWDEV-2 - Change OpenCL version number from 2463 to 2464.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2211 edit
2017-07-28 03:14:42 -04:00
Aditya Atluri b3f8c3fb8e 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-28 10:43:11 +05:30
Maneesh Gupta cb5cf20c21 Renable frexp(f) device math function
Change-Id: I53c022b8ddf38cd17ddb42eba457b9020db66395
2017-07-28 10:42:51 +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
foreman bbce92464b 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
2017-07-27 03:18:48 -04:00