Graphe des révisions

13402 Révisions

Auteur SHA1 Message Date
foreman 98ba3376c9 P4 to Git Change 1982690 by yaxunl@yaxunl-lc10 on 2019/08/13 16:57:00
SWDEV-145570 - Rename OCL_DUMP_CODE_OBJECT to GPU_DUMP_CODE_OBJECT.

	Since this is used by both OCL and HIP. Rename to avoid confusion.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#315 edit


[ROCm/clr commit: 4c8ef11012]
2019-08-13 16:58:45 -04:00
Evgeny Mankov 9b42d41959 Merge pull request #1326 from emankov/clang
[HIPIFY] Add cudaMallocManaged -> hipMallocManaged

[ROCm/clr commit: c50a451b8d]
2019-08-13 17:57:14 +03:00
Evgeny Mankov e3cb2756c4 [HIPIFY] Add cudaMallocManaged -> hipMallocManaged
+ Add mapping for corresponding data types
+ Add a test
+ Update docs


[ROCm/clr commit: 9166b1554e]
2019-08-13 17:56:06 +03:00
Evgeny Mankov b2d5cce38e Merge pull request #1325 from emankov/clang
[HIPIFY][Driver API] Add support for hipFuncGetAttribute() and enum hipFunction_attribute

[ROCm/clr commit: 45c9017ec9]
2019-08-13 16:49:56 +03:00
Evgeny Mankov e6a0069d90 [HIPIFY][Driver API] Add support for hipFuncGetAttribute() and enum hipFunction_attribute
[ROCm/clr commit: 79de17dc84]
2019-08-13 16:48:07 +03:00
Evgeny Mankov f49893b5ae Merge pull request #1324 from emankov/clang
[HIPIFY] Add cuMemcpy2DAsync -> hipMemcpyParam2DAsync mapping

[ROCm/clr commit: cfbd2ae60f]
2019-08-13 16:32:50 +03:00
Evgeny Mankov d2231b9ad6 [HIPIFY] Add cuMemcpy2DAsync -> hipMemcpyParam2DAsync mapping
[ROCm/clr commit: b9deceab05]
2019-08-13 16:31:19 +03:00
foreman 99dc1fcfb9 P4 to Git Change 1982234 by chui@ocl-promo-incrementor on 2019/08/13 03:00:22
SWDEV-2 - Change OpenCL version number from 2970 to 2971.

Affected files ...

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


[ROCm/clr commit: 3b17b1cbbf]
2019-08-13 03:02:15 -04:00
foreman 4efdd906be P4 to Git Change 1982056 by kjayapra@3_HIPWS_TXT_ROCM on 2019/08/12 21:16:51
SWDEV-199635 - Setting VarInfoCallBack before all program builds.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#36 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#106 edit


[ROCm/clr commit: 602da8e12d]
2019-08-12 21:22:47 -04:00
foreman 75459bc6b7 P4 to Git Change 1982056 by kjayapra@3_HIPWS_TXT_ROCM on 2019/08/12 21:16:51
SWDEV-199635 - Setting VarInfoCallBack before all program builds.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#36 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#106 edit


[ROCm/clr commit: 8cc1539b35]
2019-08-12 21:22:47 -04:00
foreman 11bc45adbd P4 to Git Change 1982034 by cpaquot@cpaquot-ocl-lc-lnx on 2019/08/12 19:08:13
SWDEV-199606 - [HIP] hipStreamQuery issue
	Don't test against CL_COMMAND_MARKER but 0 instead (user visible=false)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#22 edit


[ROCm/clr commit: 1ce84c8b6e]
2019-08-12 19:16:30 -04:00
foreman 5adbed7c63 P4 to Git Change 1982032 by gandryey@gera-win10 on 2019/08/12 18:30:49
SWDEV-199667 - [OpenCL][PAL][LC] bruteforce conformance test causes vm fault
	- With HWS scratch buffer has to be allocated per each windows scheduling context, because HWS can schedule CB on any pipe and different pipes can't preserve unique wave_id. Recycle PAL queues in order to keep the scratch buffer per scheduling context. The change will also allow to remove Windows/kmd limitation of the scheduling contexts per process. GPU_MAX_HW_QUEUES controls the number of unique PAL queues, default is 4

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#154 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#146 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#63 edit


[ROCm/clr commit: 884478d0aa]
2019-08-12 18:36:49 -04:00
foreman 3970f7c0cd P4 to Git Change 1982021 by gandryey@gera-win10 on 2019/08/12 17:34:58
SWDEV-79445 - OCL generic changes and code clean-up
	- Following CL#1981122. Update privateMemSize_ for all scratch buffers.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#153 edit


[ROCm/clr commit: 9496b2156c]
2019-08-12 17:40:58 -04:00
Jenkins 2a43b8c65d Merge 'master' into 'amd-master'
Change-Id: I4b1ec636d2369140bdd0f7176f8c1f9037971b68


[ROCm/clr commit: 699a52c9e1]
2019-08-12 11:52:34 -07:00
Evgeny Mankov 604d714b94 Merge pull request #1318 from emankov/clang
[HIPIFY] Cooperative groups support

[ROCm/clr commit: 3cc2893e46]
2019-08-12 19:21:33 +03:00
Evgeny Mankov 1492370d1e [HIPIFY] Cooperative groups support
[ROCm/clr commit: af557aaaf6]
2019-08-12 19:20:13 +03:00
foreman 3004e1417f P4 to Git Change 1981501 by chui@ocl-promo-incrementor on 2019/08/12 03:00:21
SWDEV-2 - Change OpenCL version number from 2969 to 2970.

Affected files ...

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


[ROCm/clr commit: 5e86562499]
2019-08-12 03:04:30 -04:00
foreman 352f92ab0e P4 to Git Change 1981324 by kjayapra@3_HIPWS_TXT_ROCM on 2019/08/11 18:44:40
SWDEV-188177 - Texture API implementation and support for extern variables.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#18 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#20 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#35 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#340 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#608 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#172 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#250 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#79 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#152 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#96 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#133 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#105 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#102 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#46 edit


[ROCm/clr commit: e51298aee1]
2019-08-11 18:53:11 -04:00
foreman 1c653a1aa7 P4 to Git Change 1981324 by kjayapra@3_HIPWS_TXT_ROCM on 2019/08/11 18:44:40
SWDEV-188177 - Texture API implementation and support for extern variables.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#18 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#20 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#35 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#340 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#608 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#172 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#250 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#79 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#152 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#96 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#133 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#105 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#102 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#46 edit


[ROCm/clr commit: 0c83114de0]
2019-08-11 18:53:11 -04:00
Jenkins c0c20b91cd Merge 'master' into 'amd-master'
Change-Id: I683a764c0546fe579f5ad32863c6c94843d3e7e8


[ROCm/clr commit: 051c9a47ac]
2019-08-10 20:58:39 -04:00
foreman 9c5aa778d7 P4 to Git Change 1981175 by chui@ocl-promo-incrementor on 2019/08/10 03:00:21
SWDEV-2 - Change OpenCL version number from 2968 to 2969.

Affected files ...

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


[ROCm/clr commit: 0036c61a8c]
2019-08-10 03:25:18 -04:00
foreman b31e671b32 P4 to Git Change 1981152 by cpaquot@cpaquot-ocl-lc-lnx on 2019/08/09 20:33:32
SWDEV-193430 - [HIP] Delay creating HostQueue till commands are enqueued.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#34 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#68 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#21 edit


[ROCm/clr commit: 3494344c4d]
2019-08-09 20:41:13 -04:00
foreman 38ca74a890 P4 to Git Change 1981122 by gandryey@gera-win10 on 2019/08/09 17:59:31
SWDEV-79445 - OCL generic changes and code clean-up
	- Allow async execution with scratch on the same queue. COMPUTE_TMPRING_SIZE.WAVESIZE should be constant across all dispatches.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#151 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#145 edit


[ROCm/clr commit: 0a2d4e2dc3]
2019-08-09 18:04:15 -04:00
foreman e7c316bc92 P4 to Git Change 1981065 by cpaquot@cpaquot-ocl-lc-lnx on 2019/08/09 16:31:44
SWDEV-198556 - [HIP] Use src/dstMemory->getContext instead of host_context.
	Also relax the check for P2P copies in case of hipMemcpy(hostMalloced, hipMalloced(dev1), dev0)

Affected files ...

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


[ROCm/clr commit: 7bbbdabfb0]
2019-08-09 16:34:38 -04:00
foreman 9aaa6d72b5 P4 to Git Change 1980998 by gandryey@gera-win10 on 2019/08/09 15:21:29
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove the first queue skipping logic, since KMD no longer reports an extra normal queue

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#144 edit


[ROCm/clr commit: 2fbff434ba]
2019-08-09 15:23:39 -04:00
Evgeny Mankov f57dbcc4a0 Merge pull request #1315 from emankov/clang
[HIPIFY][cuRAND][#1257] Fix

[ROCm/clr commit: f8084a4c91]
2019-08-09 21:35:33 +03:00
foreman b41ed955fa P4 to Git Change 1980956 by kzhuravl@bos-10-kzhuravl-sc on 2019/08/09 14:20:44
SWDEV-79445 - OCL generic changes and code clean-up

	Fix non-comgr path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#56 edit


[ROCm/clr commit: da180fa0a8]
2019-08-09 14:28:52 -04:00
Evgeny Mankov 7ade29f870 [HIPIFY][cuRAND][#1257] Fix
+ Update CURAND_API_supported_by_HIP.md and test accordingly


[ROCm/clr commit: 2ee0ecde06]
2019-08-09 21:27:16 +03:00
Evgeny Mankov ceaf4967c8 Merge pull request #1312 from arghdos/patch-1
Fix HIP Platform defines

[ROCm/clr commit: 5955ea4998]
2019-08-09 18:20:35 +03:00
Nick Curtis 0af4fca153 Fix HIP Platform defines
Remove extra trailing `_` in platform defines

[ROCm/clr commit: 343d1f5715]
2019-08-09 09:25:31 -05:00
foreman 1682f8469a P4 to Git Change 1980613 by chui@ocl-promo-incrementor on 2019/08/09 03:00:21
SWDEV-2 - Change OpenCL version number from 2967 to 2968.

Affected files ...

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


[ROCm/clr commit: 44911178b7]
2019-08-09 09:44:16 -04:00
Maneesh Gupta c6c0b9ef9f Bump HIP version (#1311)
- Match HIP version with upcoming ROCm version
- Add githash to version string

[ROCm/clr commit: 1884359940]
2019-08-09 12:13:29 +00:00
amd-lthakur 079ed286ba [dtests] Fix build issues with hipMemoryAllocateCoherentDriver.cpp on windows (#1309)
Compilation error being observed due to popen(), pclose() and setenv() linux calls on windows. Replaced with appropriate calls on windows.

[ROCm/clr commit: 19ad365834]
2019-08-09 11:53:16 +00:00
amd-lthakur 7879220c48 [dtests] Fix build issue with hipMemcpy_simple.cpp on windows (#1306)
Compilation error being observed on windows due to aligned_alloc() call. Mapped the call to _aligned_malloc() for windows.

[ROCm/clr commit: 93f5940ef8]
2019-08-09 11:52:46 +00:00
ansurya 68135c897a [dtests[ Fix build issues with hipEnvVar*.cpp on windows (#1299)
* replace getopt with clara based command line options

* Removed header getopt.h

[ROCm/clr commit: fc60f3a95b]
2019-08-09 11:52:10 +00:00
Rahul Garg 6630b0caa6 Add hipMemcpyParam2DAsync (#1296)
* Add hipMemcpyParam2DAsync

* Add NVCC path changes

* Clean up

* Fix build issue

* Fix else use in both sync and async apis


[ROCm/clr commit: 569f35a258]
2019-08-09 11:50:37 +00:00
amd-lthakur 6c8ea45278 [dtests] Fix build issues with hipLaunchParm.cpp on windows (#1293)
* Removed unwanted #include sys/time.h , gettimeofday() and timeval variables and this also helps avavoid compilation error in windows due to gettimeofday() call equivalent of which is not available in windows

* Changed the Macro name from GPU_PRINT_TIME to MY_LAUNCH_MACRO


[ROCm/clr commit: 36977dc276]
2019-08-09 11:50:10 +00:00
amd-lthakur 421f940def [dtests] Fixed build issues with hipAsynchronousStreams.cpp on windows (#1292)
Changed the third arg of the functions __hip_as_write_block and __ockl_as_write_block from ulong to uint64_t so as to fix the compilation error in windows

[ROCm/clr commit: c212c484af]
2019-08-09 11:49:31 +00:00
Jenkins 50b3ddee6c Merge 'master' into 'amd-master'
Change-Id: I0f3e131eb9415f0111526828bb1010a0c2c0be2a


[ROCm/clr commit: da0af7844f]
2019-08-09 05:53:35 -04:00
foreman 5a0cdd92cb P4 to Git Change 1980493 by cpaquot@cpaquot-ocl-lc-lnx on 2019/08/08 18:57:21
SWDEV-198556 - [HIP] Override queue if src/dst's device doesn't match the queue's device.

Affected files ...

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


[ROCm/clr commit: ab33c14089]
2019-08-08 19:03:46 -04:00
Evgeny Mankov d79d523dc9 Merge pull request #1300 from amd-lthakur/windows-Single-Double-Precision-Math-Host-fixes
Fixed compilation errors being observed on windows

[ROCm/clr commit: 90c4dbe84a]
2019-08-09 00:15:48 +03:00
Evgeny Mankov 2764438b2b Merge pull request #1307 from rwvo/fix_hipify_perl
[HIPIFY] Add missing hipHostRegister flags to hipify-perl

[ROCm/clr commit: 3aeff1276f]
2019-08-08 18:59:32 +03:00
Rene van Oostrum 7246f9eb29 Add missing hipHostRegister flags to hipify-perl for flags that are defined and supported in hip_runtime_api.h
[ROCm/clr commit: 3e5fd98fc3]
2019-08-08 10:46:45 -05:00
foreman 838ae8b100 P4 to Git Change 1980121 by jatang@jatang_win_pal_lc on 2019/08/08 09:26:39
SWDEV-192640 - Fix ocltst OCLPerfCounters failure.

	Correct the counter index. See palcounters.cpp.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccounters.cpp#4 edit


[ROCm/clr commit: f0c4ce8cab]
2019-08-08 09:30:27 -04:00
Siu Chi Chan 1436897785 Compile HIP runtime with hidden visibility by default (#1303)
* add default visibility to most APIs in program_state

* remove unwanted C++ headers

* Add symbol visibility pragmas and compiler flags

* Add visibility attribute to APIs in channel_descriptor and hip_hcc

* remove unused headers

* simplify build flags with hcc

* add pragma visibility hidden to functional_grid_launch

* [CMake] add gfx908 back


[ROCm/clr commit: 3cf2d7d385]
2019-08-08 08:33:04 +00:00
Maneesh Gupta af006dcf0e Merge pull request #1305 from ROCm-Developer-Tools/fix-hip-vdi-include-clang
Fix HIP-VDI using incorrect include files

[ROCm/clr commit: 268d82aefd]
2019-08-08 08:28:20 +00:00
Maneesh Gupta 19b92e5a12 Merge pull request #1302 from davidrohr/master
Treat .cxx files like .cpp files

[ROCm/clr commit: 520f97b920]
2019-08-08 08:28:01 +00:00
Rahul Garg 6641c0dc94 Add support for hipFuncGetAttribute (#1279)
* Add support for hipFunGetAttribute

* Support NVCC path

* Test using sample module_api_global

* Try fixing CI build failure due to hip_prof_gen scan

* Fix for CI build issue

* Resolve conflict

* Rebase and resolve conflicts with master

* Fix build error

* Fix NVCC path build error


[ROCm/clr commit: 8b6317d041]
2019-08-08 08:27:41 +00:00
Evgeny Mankov f2b3d63e24 Merge pull request #1290 from emankov/master
[HIP][doc] Populate README.md with the supported CUDA APIs links

[ROCm/clr commit: 19a929f070]
2019-08-08 11:17:50 +03:00
foreman 3926e5fd54 P4 to Git Change 1979891 by chui@ocl-promo-incrementor on 2019/08/08 03:00:20
SWDEV-2 - Change OpenCL version number from 2966 to 2967.

Affected files ...

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


[ROCm/clr commit: 67730be679]
2019-08-08 03:03:57 -04:00