Commit Graph

13557 Commits

Author SHA1 Message Date
Maneesh Gupta 9e142ea66a Merge branch 'master' into feature_native_vector_types
Change-Id: I943b94ee230871a960d8f9c321ad5e096183b415
2018-07-17 09:51:22 +05:30
Maneesh Gupta 7d8c1ae761 Merge pull request #515 from ROCm-Developer-Tools/hipclang-add-amdgcn-funcs
Add hipclang amdgcn functions
2018-07-17 09:25:09 +05:30
foreman 77bd31536a P4 to Git Change 1580823 by gandryey@gera-w8 on 2018/07/16 11:48:51
SWDEV-154474 - [Task]: TAN Dual Realtime Queue Enhancement For Radeon Rays
	- Use the new enum for RT1

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#423 edit
2018-07-16 12:05:32 -04:00
Jenkins 040ed1841f Merge 'master' into 'amd-master'
Change-Id: Iec8d57aea1bef39d51314d49da68626547715db3
2018-07-16 04:09:36 -05:00
Alex Voicu bffacd009e Merge branch 'feature_native_vector_types' of https://github.com/ROCm-Developer-Tools/HIP into feature_native_vector_types 2018-07-15 11:45:12 +01:00
Alex Voicu a2b6508912 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_native_vector_types 2018-07-15 11:44:48 +01:00
Evgeny Mankov 16a71f7772 Merge pull request #573 from emankov/master
[HIPIFY] Support of cudaComputeMode / CUcomputemode
2018-07-14 17:02:14 +03:00
Evgeny Mankov 4e0d07f07a [HIPIFY] Support of cudaComputeMode / CUcomputemode
+ update docs
+ fix typo in hip_runtime_api.h
2018-07-14 16:08:19 +03:00
foreman dc52f796a4 P4 to Git Change 1580522 by chui@ocl-promo-incrementor on 2018/07/14 03:00:23
SWDEV-2 - Change OpenCL version number from 2694 to 2695.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2442 edit
2018-07-14 03:08:19 -04:00
foreman 017d0f3e03 P4 to Git Change 1580351 by vsytchen@vsytchen-win10 on 2018/07/13 14:54:15
SWDEV-158585 - [ROCm] OCLPinnedMemory test is giving VM fault

	1. If host ptr is present, use the CopyBuffer path instead of the ReadBuffer path

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#58 edit
2018-07-13 15:05:05 -04:00
foreman 494b22221b P4 to Git Change 1580345 by gandryey@gera-lnx-rcf on 2018/07/13 14:50:14
SWDEV-154474 - [Task]: TAN Dual Realtime Queue Enhancement For Radeon Rays
	- Fix linux build error

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#33 edit
2018-07-13 15:00:01 -04:00
foreman 83f8573a66 P4 to Git Change 1580311 by gandryey@gera-w8 on 2018/07/13 14:24:01
SWDEV-154474 - [Task]: TAN Dual Realtime Queue Enhancement For Radeon Rays
	- Add support for the second RT queue

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_command.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#422 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#114 edit
2018-07-13 14:32:29 -04:00
foreman 6b409a027b P4 to Git Change 1580311 by gandryey@gera-w8 on 2018/07/13 14:24:01
SWDEV-154474 - [Task]: TAN Dual Realtime Queue Enhancement For Radeon Rays
	- Add support for the second RT queue

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_command.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#422 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#114 edit
2018-07-13 14:32:29 -04:00
foreman 949558082f P4 to Git Change 1580020 by chui@ocl-promo-incrementor on 2018/07/13 03:00:20
SWDEV-2 - Change OpenCL version number from 2693 to 2694.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2441 edit
2018-07-13 03:09:27 -04:00
foreman 0b08fa4a4e P4 to Git Change 1579735 by gandryey@gera-w8 on 2018/07/12 14:22:40
SWDEV-158730 - [CQE OCL][ocltst][WIN] OCLMemoryInfo[1] a sub-test of ocltst oclruntime module is failed
	- Update free memory calculation for APU systems. There is still an issue in GSL with multiple alloc/free passes

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#595 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#96 edit
2018-07-12 14:31:30 -04:00
Jorghi12 1e5552f861 Update FindHIP.cmake
Adding another flag.
2018-07-12 14:17:21 -04:00
Jorghi12 a484f89b34 Update FindHIP.cmake
Updating placement.
2018-07-12 13:56:08 -04:00
foreman 96d0ddb728 P4 to Git Change 1579667 by gandryey@gera-w8 on 2018/07/12 12:31:33
SWDEV-155438 - Produce RGP Queue Timings chunk for OpenCL RGP files
	- Collect command buffer timing
	- Capture 50 dispatches by default

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#113 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#291 edit
2018-07-12 12:40:04 -04:00
srinivas Charupally 14d4c6dc28 Adding more struct scenarions and a ResultValidation() 2018-07-12 17:08:41 +05:30
Jenkins 25ca4a9770 Merge 'master' into 'amd-master'
Change-Id: If308c84470294b706a765dde955060ae79236656
2018-07-12 04:09:43 -05:00
foreman a7cc26942f P4 to Git Change 1579307 by chui@ocl-promo-incrementor on 2018/07/12 03:00:59
SWDEV-2 - Change OpenCL version number from 2692 to 2693.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2440 edit
2018-07-12 03:14:45 -04:00
Maneesh Gupta 4702a6c86e Merge pull request #562 from ROCm-Developer-Tools/fix-build-failure
Fix build failure in code_object_bundle.cpp
2018-07-12 07:49:41 +05:30
Jorg Doku 7383eac88a Support INCLUDE_DIRECTORIES & COMPILE_DEFINITIONS 2018-07-11 16:13:07 -04:00
Evgeny Mankov 0cd1c06cd5 Merge pull request #566 from emankov/master
[HIPIFY] Current trunk LLVM 7.0 initial support
2018-07-11 20:18:26 +03:00
Evgeny Mankov b9c15702d2 [HIPIFY] Current trunk LLVM 7.0 initial support
Tested with CUDA 8.0, 9.0, 9.1 and 9.2.

Only 8.0 works with LLVM 7.0, due to the changes in LLVM trunc since released 6.0, which works fine with CUDA 8.0 and 9.0.

So, nothing to do in hipify-clang, hope that all the CUDA 9.x related issues will be fixed in 7.0 release.
2018-07-11 20:15:49 +03:00
Evgeny Mankov cfbabfa95a Merge pull request #565 from emankov/master
[HIPIFY] Add DEBUG(X) macro compatibility
2018-07-11 18:22:47 +03:00
Evgeny Mankov 22dffde22e [HIPIFY] Add DEBUG(X) macro compatibility
In LLVM 7.0 DEBUG(X) was deleted, LLVM_DEBUG(X) should be used instead.
2018-07-11 18:21:00 +03:00
lthakur 7003fe76f2 Update hipGetChanDesc.cpp 2018-07-11 15:24:00 +05:30
lthakur d395531f47 Update hipGetAlgntoffset2D.cpp 2018-07-11 15:23:21 +05:30
Maneesh Gupta 56984d04b0 Merge pull request #563 from gargrahul/add_gettexrefoffset_nvcc
Add hipGetTextureAlignmentOffset and hipGetChanDesc on NVCC path
2018-07-11 15:01:20 +05:30
Maneesh Gupta 6bf76348e1 Merge pull request #550 from gargrahul/add_bindtextoarrayref_overload_api
Added another overloaded definition of hipBindTextureToArray for direct porting.
2018-07-11 15:01:10 +05:30
Maneesh Gupta 11ae85e7e3 Merge pull request #555 from ROCm-Developer-Tools/fix-test-mbcnt
Fix hip_mbcnt test typo
2018-07-11 13:08:59 +05:30
Maneesh Gupta afe1396b35 Merge branch 'master' into add_bindtextoarrayref_overload_api 2018-07-11 12:55:49 +05:30
Maneesh Gupta 8820eee3a2 Merge pull request #549 from gargrahul/correct_bindtex_syntax_nvcc
Corrected enum type for TextureReadMode
2018-07-11 12:52:50 +05:30
Maneesh Gupta 47629979b9 Merge pull request #548 from gargrahul/add_tex2dlayered_nvcc
Added tex2dlayered mapping for HIP/NVCC
2018-07-11 12:52:40 +05:30
Maneesh Gupta d63db71b61 Merge pull request #546 from gargrahul/fix_bindtex_offset_null_check
Fixed offset null check in bind texture functions
2018-07-11 12:52:31 +05:30
Maneesh Gupta 404bd43a0e Merge pull request #545 from ROCm-Developer-Tools/revert-521-temp_fixmemcpy2dasync_trsmissue
Revert "Use memcpy kernel for all pinned memory cases in hipMemcpy2DAsync"
2018-07-11 12:52:09 +05:30
Maneesh Gupta 2bd9d8ca27 Merge pull request #544 from gargrahul/edit_hip_deprecated_apis_doc
Edit hip deprecated apis doc
2018-07-11 12:40:31 +05:30
Rahul Garg bab48b86a6 Added hipGetChanDesc for NVCC path 2018-07-11 12:37:07 +05:30
foreman d36a1aa745 P4 to Git Change 1578720 by chui@ocl-promo-incrementor on 2018/07/11 03:00:18
SWDEV-2 - Change OpenCL version number from 2691 to 2692.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2439 edit
2018-07-11 03:06:19 -04:00
Rahul Garg 5b53e278a5 Add hipGetTextureAlignmentOffset on NVCC path 2018-07-11 12:17:33 +05:30
lthakur d8b5f60e12 Update hipGetAlgntoffset2D.cpp 2018-07-11 11:54:05 +05:30
lthakur 5ba01d5033 Update hipGetChanDesc.cpp 2018-07-11 11:53:16 +05:30
lthakur b3b198f745 Update hipGetAlgntoffset2D.cpp 2018-07-11 11:51:08 +05:30
foreman 64967af9eb P4 to Git Change 1578574 by skudchad@skudchad_rocm on 2018/07/10 19:15:59
SWDEV-145570 - [HIP] - g_arguments isnt a double pointer

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#12 edit
2018-07-10 19:21:07 -04:00
Yaxun (Sam) Liu 2531815dfe Include stddef.h in device_functions.h and remove use of uint8_t 2018-07-10 18:12:41 -04:00
Yaxun (Sam) Liu 903dfa94eb Move __hip_hc_memcpy and __hip_hc_memset from device_utils.cpp to device_functions.h as inline functions 2018-07-10 18:12:41 -04:00
Yaxun (Sam) Liu e6d155bcd5 Fix build failure in code_object_bundle.cpp 2018-07-10 16:49:59 -04:00
Aaron Enye Shi 9f3404cfea Fix min/max, icmp asm and add comment for conversion functions 2018-07-10 18:56:48 +00:00
Aaron Enye Shi bc8bc8cac4 Add func attributes to match ocml and ockl 2018-07-10 18:27:32 +00:00