Commit Graph

11577 Commits

Author SHA1 Message Date
Rahul Garg d92afe2277 Fix HIP_VISIBLE_DEVICES order (#1184)
* Fix HIP_VISIBLE_DEVICES order

* Fix device IDs mismatch

* Fix review comments- loop order and device range check

* Handle incomplete VISIBLE device env variable

* Revert "Handle incomplete VISIBLE device env variable"


[ROCm/clr commit: d2e8cdc8fb]
2019-07-18 03:18:04 +00:00
foreman e4f4426ced P4 to Git Change 1969318 by jatang@jatang_win_pal_lc on 2019/07/17 16:23:50
SWDEV-174198 - Put back the fix of segfault running integer_ops.

Affected files ...

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


[ROCm/clr commit: 44401e2509]
2019-07-17 16:32:02 -04:00
foreman 7668f821e9 P4 to Git Change 1969315 by jatang@jatang_win_pal_lc on 2019/07/17 16:21:22
SWDEV-174198 - Properly init the vgpuAccess_ lock.

	To allow recursion.

Affected files ...

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


[ROCm/clr commit: fc2fbc008b]
2019-07-17 16:25:45 -04:00
foreman 2cfb7d6fdd P4 to Git Change 1969076 by jatang@jatang_win_pal_lc on 2019/07/17 12:10:15
SWDEV-174198 - Back out changelist 1968648.

	Since it causes soft-hang in multiple_device_context test.

Affected files ...

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


[ROCm/clr commit: 5781701a9c]
2019-07-17 12:13:34 -04:00
Aryan Salmanpour a4992850d8 [hip] fix a bug where we parse kernel's arguments layout for a given kernel multiple times (#1232)
[ROCm/clr commit: 8b90a5d274]
2019-07-17 07:29:07 +00:00
Evgeny Mankov d7600871ad [HIPIFY][bash] Make 'find' sorted by extension (#1231)
+ Source files are the first to go. It is needed for in-place hipification in order to avoid errors with included but already hipified header files.
+ More extensions support for batch processing.

[ROCm/clr commit: ba87bcba5c]
2019-07-17 07:28:54 +00:00
Maneesh Gupta 61833b948d [dtests] Fix typo in hipAPIStreamDisable.cpp (#1227)
Change-Id: Ib88a6be49ba192578129bb88ad09817839981398

[ROCm/clr commit: d206d66dfe]
2019-07-17 07:28:38 +00:00
Maneesh Gupta ccf76633f9 [dtests] Temporarily disable failing tests (#1218)
Change-Id: I7bb36a964c635bfbdf67484f3454d8fff7168eb2

[ROCm/clr commit: 4d2f2396aa]
2019-07-17 07:28:21 +00:00
foreman 6475ecdbf5 P4 to Git Change 1968803 by chui@ocl-promo-incrementor on 2019/07/17 03:00:12
SWDEV-2 - Change OpenCL version number from 2947 to 2948.

Affected files ...

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


[ROCm/clr commit: c340320539]
2019-07-17 03:07:31 -04:00
foreman e373f03ca8 P4 to Git Change 1968653 by marsenau@marsenau-fiji on 2019/07/16 17:57:30
SWDEV-79445 - Don't use amdgizcl. This has been unnecessary for a long time.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#23 edit


[ROCm/clr commit: d5b18e32f4]
2019-07-16 17:59:51 -04:00
foreman 58f0e884a3 P4 to Git Change 1968653 by marsenau@marsenau-fiji on 2019/07/16 17:57:30
SWDEV-79445 - Don't use amdgizcl. This has been unnecessary for a long time.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#23 edit


[ROCm/clr commit: 3ee86b8db7]
2019-07-16 17:59:51 -04:00
foreman 9955bcff65 P4 to Git Change 1968648 by jatang@jatang_win_pal_lc on 2019/07/16 17:42:09
SWDEV-174198 - Fix segfault running integer_ops.

Affected files ...

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


[ROCm/clr commit: 8f1e23197a]
2019-07-16 17:51:22 -04:00
foreman d1a3a88f40 P4 to Git Change 1968576 by cpaquot@cpaquot-ocl-lc-lnx on 2019/07/16 15:48:18
SWDEV-145570 - [HIP] update code after header change

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#12 edit


[ROCm/clr commit: 3a8ab2a98e]
2019-07-16 15:54:22 -04:00
foreman c1063c0ea1 P4 to Git Change 1968527 by gandryey@gera-win10 on 2019/07/16 14:52:45
SWDEV-195023 - [CQE OCL][Navi10][RESOLVE] corruption seen in thumbnail for mxf clip after enabling temporal denoiser in Davinci resolve app
	- Add a workaround for missing custom pitch in gfx10 HW. It can be disabled with GPU_IMAGE_BUFFER_WAR=0. Workaround implements double copy with an image without pitch.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#313 edit


[ROCm/clr commit: 582fae6820]
2019-07-16 14:56:08 -04:00
foreman 4d73993230 P4 to Git Change 1968451 by vsytchen@vsytchen-remote-ocl-win10 on 2019/07/16 13:33:33
SWDEV-79445 - OCL generic changes and code clean-up

	1. Remove redundant spillSegmentByteSize_ member

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#29 edit


[ROCm/clr commit: 901336f846]
2019-07-16 12:46:10 -05:00
foreman 7a8f15e0dc P4 to Git Change 1968449 by vsytchen@vsytchen-remote-ocl-win10 on 2019/07/16 13:32:58
SWDEV-79445 - OCL generic changes and code clean-up

	1. Fill out out NULL entries in the cltrace dispatch table with original api calls.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#21 edit
... //depot/stg/opencl/drivers/opencl/tools/cltrace/cltrace.cpp#16 edit


[ROCm/clr commit: b88bbb4a04]
2019-07-16 13:40:40 -04:00
Evgeny Mankov 096aad2de2 Merge pull request #1220 from emankov/master
[HIP][HIPIFY] Split HIP_ARRAY_DESCRIPTOR struct to HIP_ARRAY_DESCRIPTOR and HIP_ARRAY3D_DESCRIPTOR

[ROCm/clr commit: c978af3b13]
2019-07-16 18:15:44 +03:00
foreman 6496366a8e P4 to Git Change 1967296 by chui@ocl-promo-incrementor on 2019/07/15 03:00:11
SWDEV-2 - Change OpenCL version number from 2946 to 2947.

Affected files ...

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


[ROCm/clr commit: fdaf34aab2]
2019-07-15 03:05:41 -04:00
foreman 67d0000dd7 P4 to Git Change 1967012 by chui@ocl-promo-incrementor on 2019/07/13 03:00:10
SWDEV-2 - Change OpenCL version number from 2945 to 2946.

Affected files ...

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


[ROCm/clr commit: 4879e4f63c]
2019-07-13 03:03:55 -04:00
foreman c12870228a P4 to Git Change 1966866 by vsytchen@vsytchen-ocl-win10 on 2019/07/12 16:08:01
SWDEV-192353 - 12% Performance drop observed while running ROC_OCL_Perf_CompubenchCL_GPU_W64 only on Vega10 with Win7

	1. Reduce CmdAllocator sub-allocation size to 4KB.

Affected files ...

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


[ROCm/clr commit: 3669ba964e]
2019-07-12 22:12:16 -04:00
Evgeny Mankov 495c6489ee [HIPIFY][doc] Update README.md: the latest cuDNN 7.6.1.34 is supported
[ROCm/clr commit: 608a2a1eb8]
2019-07-12 18:49:54 +03:00
Evgeny Mankov 24af494e97 [HIP] Fix segfault on uninitialized struct members in hipArrayCreate and hipArray3DCreate
[ROCm/clr commit: 299fbd4842]
2019-07-12 16:38:26 +03:00
Evgeny Mankov 129df30a5f [HIPIFY][#1221] Add regex replacements for include refs with path separators while generating hipify-perl
[ROCm/clr commit: 13788368ea]
2019-07-12 16:18:00 +03:00
foreman b1d99d0802 P4 to Git Change 1966294 by chui@ocl-promo-incrementor on 2019/07/12 03:00:10
SWDEV-2 - Change OpenCL version number from 2944 to 2945.

Affected files ...

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


[ROCm/clr commit: a8fb74a8b6]
2019-07-12 03:07:21 -04:00
kpyzhov 71297fa621 Added gfx906 kernel binary to the HIPFB file for hipModule test. (#1215)
[ROCm/clr commit: 728ce926d9]
2019-07-12 03:13:45 +00:00
Yaxun (Sam) Liu 682dcddbbd Add amdgpu targets gfx1010 and gfx1012 (#1211)
[ROCm/clr commit: 4b5061e13f]
2019-07-12 03:13:35 +00:00
foreman f28957f413 P4 to Git Change 1966049 by cpaquot@cpaquot-ocl-lc-lnx on 2019/07/11 19:05:18
SWDEV-189500 - [HIP] Have to force async=false for host to device case as well

Affected files ...

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


[ROCm/clr commit: a888b06ede]
2019-07-11 19:13:06 -04:00
Evgeny Mankov b5f0cdaa7b [HIP][HIPIFY] Split HIP_ARRAY_DESCRIPTOR struct to HIP_ARRAY_DESCRIPTOR and HIP_ARRAY3D_DESCRIPTOR
[Reason] To be compatible with CUDA [#1133]

Update HIP code, hipify-clang, tests and docs

[TODO] Add support of the corresponding functions on nvcc fallback path


[ROCm/clr commit: f0832fd968]
2019-07-11 14:58:16 +03:00
mhbliao e402a1db65 Add missing compound assignment operators. (#1216)
[ROCm/clr commit: e701e337f9]
2019-07-11 09:16:15 +00:00
Jatin Chaudhary 877fd02244 Adding fix to initialize a dim3 variable from blockIdx. (#1212)
Adding gitignore for ctags

[ROCm/clr commit: 46553d719a]
2019-07-11 09:16:03 +00:00
foreman c2701443d1 P4 to Git Change 1965506 by chui@ocl-promo-incrementor on 2019/07/11 03:00:09
SWDEV-2 - Change OpenCL version number from 2943 to 2944.

Affected files ...

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


[ROCm/clr commit: ba82794af1]
2019-07-11 03:09:43 -04:00
Maneesh Gupta 362938e1b0 Revert "[ci] Disable hipLaunchParm.tst for now" (#1087)
[ROCm/clr commit: e3b1dabdc5]
2019-07-11 00:24:23 +00:00
foreman eeb2ef2b0b P4 to Git Change 1964690 by chui@ocl-promo-incrementor on 2019/07/10 03:00:08
SWDEV-2 - Change OpenCL version number from 2942 to 2943.

Affected files ...

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


[ROCm/clr commit: f4b8358eb6]
2019-07-10 03:10:29 -04:00
Aryan Salmanpour 7a4e3ecc00 [hip][samples] fix a typo in module_api/defaultDriver sample (#1210)
[ROCm/clr commit: b1d8736f4a]
2019-07-10 03:05:19 +00:00
Aryan Salmanpour 3fb7138a61 Fix a compilation error when templated operator<< fails if 'U' type is std::ostream. (#1209)
[ROCm/clr commit: 034e5c0311]
2019-07-10 03:05:04 +00:00
Maneesh Gupta 4c944c9ac5 [ci] Enable tests on ROCm 2.6 (#1208)
[ROCm/clr commit: bb72dd047c]
2019-07-10 03:04:52 +00:00
foreman 6f8ba6d74e P4 to Git Change 1961269 by slinder1@slinder1-fiji-ocllc on 2019/07/09 16:03:15
SWDEV-161424 - Fix broken option handling in Comgr path

	Introduces another potential bug if any options in Options::llvmOptions contain spaces, but this existed before the switch to Comgr.

Affected files ...

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


[ROCm/clr commit: 93c85b966d]
2019-07-09 16:10:34 -04:00
foreman 30b266b2c8 P4 to Git Change 1960804 by chui@ocl-promo-incrementor on 2019/07/09 03:00:08
SWDEV-2 - Change OpenCL version number from 2941 to 2942.

Affected files ...

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


[ROCm/clr commit: 737e74e666]
2019-07-09 03:05:35 -04:00
foreman d259b5ca84 P4 to Git Change 1960615 by gandryey@gera-win10 on 2019/07/08 18:05:10
SWDEV-79445 - HIP generic changes and code clean-up
	- Correct elapsed time calculation. Use event start and end.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#13 edit


[ROCm/clr commit: 3439e27f6d]
2019-07-08 18:14:01 -04:00
darkbuck bd1ba52254 Fix even more typo. (#1204)
[ROCm/clr commit: d0afaff280]
2019-07-08 11:00:51 +00:00
Jatin Chaudhary 6e8edf8890 Adding bounds check before hipMemset (#1190)
* Adding bounds check in ihipMemset

* Adding ihipMemPtrGetInfo to hipMemPtrGetInfo


[ROCm/clr commit: fcb0a3d4e2]
2019-07-08 11:00:38 +00:00
Evgeny Mankov c4928afa45 [HIPIFY] Statistics to CSV file dumping revise
+ Add option -print-stats-csv to dump statistics to CSV file
+ If -o-dir is specified, CSV file will be dumped there
+ Generate 1 summary file sum_stat.csv in case of multiple sources


[ROCm/clr commit: 60a9143d6d]
2019-07-07 20:55:17 +03:00
foreman 40b5f1a0a9 P4 to Git Change 1954476 by chui@ocl-promo-incrementor on 2019/07/07 03:00:07
SWDEV-2 - Change OpenCL version number from 2940 to 2941.

Affected files ...

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


[ROCm/clr commit: 01b3c9a93c]
2019-07-07 03:08:53 -04:00
foreman a2d8515aac P4 to Git Change 1954434 by chui@ocl-promo-incrementor on 2019/07/06 03:00:07
SWDEV-2 - Change OpenCL version number from 2939 to 2940.

Affected files ...

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


[ROCm/clr commit: cf619cedf7]
2019-07-06 03:08:13 -04:00
foreman 1ec1706cc4 P4 to Git Change 1942068 by chui@ocl-promo-incrementor on 2019/07/04 03:00:06
SWDEV-2 - Change OpenCL version number from 2938 to 2939.

Affected files ...

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


[ROCm/clr commit: b1a5dc95c8]
2019-07-04 03:08:21 -04:00
searlmc1 768fca3d42 Fix typo ( T in Vec3_cmp = needs to be int ). (#1203)
Typo introduced here:
commit 1e12e00009
Author: Alex Voicu <alexandru.voicu@amd.com>
Date:   Mon Jun 24 20:02:09 2019 -0500

    Put 3-wide vector types on a ketogenic diet. (#1180)

[ROCm/clr commit: f3bbad0716]
2019-07-04 00:44:26 +00:00
kpyzhov d6b81bc408 Change the type of hipTextureObject_t to pointer to a struct. (#1199)
This is necessary to allow Runtime to perform required texture buffer handling.

[ROCm/clr commit: 43ffe25979]
2019-07-04 00:44:06 +00:00
Jannik 566679ba1d Fix call to cuda library (#1197)
* Remove flags parameter from hipOccupancyMaxPotentialBlockSize

This commit makes the hipOccupancyMaxPotentialBlockSize method consistent with hcc path and the CUDA API.


[ROCm/clr commit: a401997b8e]
2019-07-04 00:43:22 +00:00
Aryan Salmanpour 4b06a21504 [hip] Move _criticalData of ihipStream_t class to private section and use criticalData() to access it (#1177)
[ROCm/clr commit: 7e48231252]
2019-07-04 00:42:19 +00:00
foreman 083dc6fbb0 P4 to Git Change 1940447 by cpaquot@cpaquot-ocl-lc-lnx on 2019/07/03 14:44:49
SWDEV-194872 - [HIP] CUDA and HCC sync after a DeviceToHost async copy.

Affected files ...

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


[ROCm/clr commit: 270c652d0f]
2019-07-03 14:51:15 -04:00