Граф коммитов

4785 Коммитов

Автор SHA1 Сообщение Дата
Aaron Enye Shi 1966257b5a Remove unsupported targets gfx801 and gfx802
These architectures are no longer supported. Should not compile for them.

[ROCm/clr commit: 1149f88413]
2018-04-23 15:25:35 -04:00
Evgeny Mankov 6974aca85f [HIPIFY] undo apply .clangformat to HIPIFY source files
[ROCm/clr commit: ad28f72ca9]
2018-04-23 20:22:15 +03:00
foreman 7b013d2b37 P4 to Git Change 1544858 by skudchad@skudchad_rocm on 2018/04/22 21:07:25
SWDEV-144570 - [HIP] - Fix a few APIs and typos.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#6 edit


[ROCm/clr commit: db522a2fbc]
2018-04-22 21:17:27 -04:00
Rahul Garg ec3c6c4dda Added deprecation note in cuCtx section
[ROCm/clr commit: a68b9b6bf6]
2018-04-20 22:43:58 +05:30
Rahul Garg 3111ff5e40 Moved deprecated macro to the end
[ROCm/clr commit: bc61260168]
2018-04-20 21:57:23 +05:30
Lakhan Singh 06dd83f7f1 SWDEV-141024
[ROCm/clr commit: 74faa61d52]
2018-04-20 17:40:00 +05:30
Rahul Garg bc59051858 Mark hipCtx APIs as deprecated
[ROCm/clr commit: 89674c54a7]
2018-04-20 17:34:48 +05:30
foreman 7823592e65 P4 to Git Change 1544061 by skudchad@skudchad_test2_win_opencl on 2018/04/19 18:24:45
SWDEV-145570 - [HIP] - Add some hip_mem* APIs

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#10 edit


[ROCm/clr commit: 22439e8644]
2018-04-19 18:35:00 -04:00
foreman b99e781ba3 P4 to Git Change 1543751 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/19 11:17:02
SWDEV-145570 - [HIP] Implemented a bunch of texture APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#5 edit


[ROCm/clr commit: d532cc2b66]
2018-04-19 12:27:09 -04:00
Rahul Garg 65b792cb9b Resolve tex1D float to int conversion issue
[ROCm/clr commit: a898ccfb3f]
2018-04-18 14:15:18 +05:30
Rahul Garg 39a19cc9e8 Added hipMemset2DAsync support
[ROCm/clr commit: fcc0866681]
2018-04-17 18:27:27 +05:30
Maneesh Gupta 295cd826d9 Merge pull request #400 from gargrahul/hipModule_cleanup
hip_module code cleanup

[ROCm/clr commit: 72ff4c5cc4]
2018-04-17 09:00:15 +05:30
Aaron Enye Shi 2071f27bb0 Clean up triple_to_hsa_isa naming (#403)
[ROCm/clr commit: a004c8dfa2]
2018-04-17 06:47:55 +05:30
foreman 430ace7293 P4 to Git Change 1541938 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/16 18:27:17
SWDEV-145570 - [HIP] Set/GetDevice and Create/DestroyTextureObject
	Implemented Set/GetDevice relying on g_context (current context)
	Implemented create linear/2D texture object function
	Implemented hipDestroyTextureObject

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#4 edit


[ROCm/clr commit: 17d153a162]
2018-04-16 18:37:17 -04:00
Rahul Garg 181e0ee8ee hip_module code cleanup
-Fixed missing ihipLogStatus in hipModuleLoad()
-Fixed some ihipXXX functions


[ROCm/clr commit: c23898f49b]
2018-04-16 15:35:04 +05:30
Aaron Enye Shi 5d295abb55 Fix bug when using older rocr naming (#399)
[ROCm/clr commit: 21382e361c]
2018-04-14 15:47:46 +05:30
foreman a920121336 P4 to Git Change 1541197 by skudchad@skudchad_test2_win_opencl on 2018/04/13 17:49:07
SWDEV-145570 - [HIP] -  Add missing HIP APIs and  fill sym table references. The HIP tests can now build if we do a symlink to libhip_hcc.so that we build with VDI in the install folder in github HIP.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_profile.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#3 edit


[ROCm/clr commit: aec786cfdb]
2018-04-13 18:19:28 -04:00
Aaron Enye Shi 03877a5ed2 Fix new gfx target naming convention (#397)
This was introduced in recent xnack changes naming changes which affected our offload bundler. This patch will fix issues in HIP samples, ROCR tests, and others.

[ROCm/clr commit: 199cff2365]
2018-04-13 16:24:39 +05:30
Maneesh Gupta d8256b0652 Merge pull request #395 from lmoriche/master
Add missing __device__ function attributes.

[ROCm/clr commit: 2ab05a2069]
2018-04-12 14:51:32 +05:30
Maneesh Gupta b17a2a5ac2 Merge pull request #393 from mangupta/cmake_update_deps
[cmake] Update target build dependencies

[ROCm/clr commit: de8eae68e9]
2018-04-12 14:36:49 +05:30
Rahul Garg cf6322da63 Correct missed ihipMemsetCopyDataType change
[ROCm/clr commit: 2ee80397f2]
2018-04-12 10:27:19 +05:30
Rahul Garg 312b764721 Changed ihipMemsetCopyDataType to ihipMemsetDataType
[ROCm/clr commit: 2658963f5b]
2018-04-12 09:29:22 +05:30
Laurent Morichetti 957651a021 Add missing __device__ function attributes.
[ROCm/clr commit: 8dcfbf5bee]
2018-04-11 09:29:37 -07:00
Rahul Garg aff8d83cdf Fix hipMemset stream resolution
[ROCm/clr commit: 88073a17c1]
2018-04-11 19:01:53 +05:30
Rahul Garg a3bc29976b hipMemset refactoring
[ROCm/clr commit: 40846f6f8e]
2018-04-11 15:58:48 +05:30
Maneesh Gupta 64780b64bf [cmake] Update target build dependencies
Change-Id: Ib1c34135c0d04f88daa695e7a90272225d7e64b0


[ROCm/clr commit: ebc52e5bc0]
2018-04-11 15:30:13 +05:30
Maneesh Gupta d087d3adc3 Merge pull request #391 from lmoriche/master
Create one hipModule_t per device

[ROCm/clr commit: a39a96dcc9]
2018-04-11 13:06:58 +05:30
foreman ff18c03439 P4 to Git Change 1539198 by skudchad@skudchad_test2_win_opencl on 2018/04/10 17:32:14
SWDEV-145570 - [HIP] -  Add HIP API skeletons for Peer and memory

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_peer.cpp#1 add


[ROCm/clr commit: e19802c5c9]
2018-04-10 17:41:24 -04:00
Laurent Morichetti 51a692ce2e Create one hipModule_t per device
[ROCm/clr commit: f4cde23be3]
2018-04-10 08:57:34 -07:00
Maneesh Gupta dffc1d1534 Merge pull request #390 from mangupta/hipmemcpy_fix
hipMemcpyAsync returns success when trying to copy 0 bytes

[ROCm/clr commit: 2d1d79cb22]
2018-04-09 14:02:36 +05:30
Maneesh Gupta 07e41f3ca0 Merge pull request #388 from lmoriche/master
Add support for clang offload bundles and <<<>>> kernel launch.

[ROCm/clr commit: d945c85fa7]
2018-04-09 12:40:28 +05:30
Maneesh Gupta cdb7f8f354 hipMemcpyAsync returns success when trying to copy 0 bytes
Change-Id: I4c0ee7ccc7563e2df657b50356cdd7fec9a1ef15


[ROCm/clr commit: 445de66560]
2018-04-09 12:39:44 +05:30
Maneesh Gupta e2d8f322ec [ci] Disable nvcc CI builds
[ROCm/clr commit: 04f116a9e8]
2018-04-09 12:23:56 +05:30
foreman d393bbbd62 P4 to Git Change 1537729 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/06 17:59:29
SWDEV-145570 - [HIP] Use Svm path for both hipMalloc and hipHostMalloc
	Make sure hipMemCpy uses SvmBuffer to fetch the cl_mem

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#8 edit


[ROCm/clr commit: 03a6601214]
2018-04-06 18:08:18 -04:00
Siu Chi Chan b24d6e7296 adjust the hcc work week for the texture fix
[ROCm/clr commit: 5df923cdfa]
2018-04-06 15:46:55 -04:00
Laurent Morichetti 3e462cc40b Don't include __clang_cuda_builtin_vars.h
[ROCm/clr commit: 7f03ff1012]
2018-04-05 16:27:05 -07:00
foreman 1f1092a163 P4 to Git Change 1537232 by skudchad@skudchad_rocm on 2018/04/05 15:00:24
SWDEV-145570 - [HIP] - Fix typo and fix build.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#2 edit


[ROCm/clr commit: 8b5bb8304b]
2018-04-05 15:12:53 -04:00
foreman 2bf865a669 P4 to Git Change 1537228 by skudchad@skudchad_test2_win_opencl on 2018/04/05 14:53:31
SWDEV-145570 - [HIP] -  Add HIP Memory, texture, surface, context api skeletons

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_surface.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#1 add


[ROCm/clr commit: 6fc37f7147]
2018-04-05 15:02:43 -04:00
foreman 92c69c53f1 P4 to Git Change 1536925 by vsytchen@vsytchen-ocl-win10 on 2018/04/04 17:20:38
SWDEV-79445 - OCL generic changes and code clean-up

	1. This change replaces the use of std::map with std::unordered_map to improve lookup/insert time.
	2. Replace the use of std::make_pair and std::pair constructor with uniform initialization for cleaner code.
	3. Replace the use of std::Container::iterator type with the auto keyword for cleaner code.
	4. Use range based for loops where needed.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10_amd.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11_amd.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9_amd.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_pipe.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuvirtual.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#216 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#297 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuappprofile.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpubinary.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#158 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#587 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#322 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#237 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#242 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#415 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#143 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palappprofile.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocbinary.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccounters.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.hpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#129 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#102 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/perfctr.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/sampler.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.cpp#17 edit


[ROCm/clr commit: 0f8877096f]
2018-04-04 18:00:17 -04:00
Laurent Morichetti f22fbe4271 Add support for clang offload bundles and <<<>>> kernel launch.
[ROCm/clr commit: 323caee8d2]
2018-04-04 13:32:33 -07:00
foreman 78f2644004 P4 to Git Change 1536698 by skudchad@skudchad_test2_win_opencl on 2018/04/04 13:18:19
SWDEV-145570 - [HIP] -  Add HIP Memory api skeletons

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#6 edit


[ROCm/clr commit: 1a5f98c021]
2018-04-04 13:24:15 -04:00
Maneesh Gupta 26a61d6959 Cleanup bin directory
Remove hccgenco.sh and hsa-api-filter-cxl.txt

Change-Id: I5942aec911a2fe6c871fe0eb5f44a0b243552b79


[ROCm/clr commit: efac735621]
2018-04-04 14:31:40 +05:30
Maneesh Gupta e6142be606 Merge pull request #383 from gargrahul/remove_hcc_check_texref_sample
Remove textureObj kernel argument for HIP/HCC path

[ROCm/clr commit: 13b65efae0]
2018-04-04 10:35:58 +05:30
Maneesh Gupta a7cdb8c5b7 Merge pull request #384 from yxsamliu/patch-1
Update HIP language spec to support both <<< >>> kernel launching mec…

[ROCm/clr commit: 2021414e98]
2018-04-04 10:35:34 +05:30
Maneesh Gupta 7a59db9fa2 Merge pull request #385 from gargrahul/fix_texture_trsf_flag
Fix texture driver api TRFS flags

[ROCm/clr commit: 4826f84d5c]
2018-04-04 10:34:09 +05:30
Maneesh Gupta e89cb4c975 [ci] Re-enable testing against hcc_1.7
[ROCm/clr commit: 11eaac9cf4]
2018-04-03 14:04:33 +05:30
Rahul Garg db20c24914 Fix texture driver api TRFS flags
[ROCm/clr commit: 414cb24351]
2018-04-02 21:47:20 +05:30
Yaxun (Sam) Liu 5024b0b9e6 Update HIP language spec to support both <<< >>> kernel launching mechanism and hipLaunchKernel
[ROCm/clr commit: 0e1ae245d2]
2018-04-02 11:58:32 -04:00
foreman 466cb9634d P4 to Git Change 1534798 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/30 00:56:35
SWDEV-145570 - [HIP] Implemented hipStream create/destroy
	Use the provided stream in hipModuleLaunchKernel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#2 edit


[ROCm/clr commit: 9504ce2bc4]
2018-03-30 01:06:00 -04:00
foreman ec93df6513 P4 to Git Change 1534050 by lmoriche@lmoriche_opencl_dev2 on 2018/03/28 19:09:26
SWDEV-145570 - Add support for clang offload bundles

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#3 edit


[ROCm/clr commit: 416cba1233]
2018-03-28 19:23:57 -04:00