Commit Graph

11513 Commits

Author SHA1 Message Date
Sarbojit Sarkar ce41fd9824 SWDEV-276319 - Added null checks
Change-Id: Ib22a333f0f599c8f0efca34f2a287bc4b118d743


[ROCm/clr commit: 4af7a74482]
2021-04-01 05:11:16 -04:00
Chauncey Hui 0a4e43c89d SWDEV-2 - Change OpenCL version number from 3283 to 3284
[ROCm/clr commit: 47ff27e0db]
2021-04-01 03:00:07 -04:00
Sarbojit Sarkar 993f52cd8b SWDEV-254441 - Fixed review comments
Change-Id: Ica13f23638be04216d152821127b2b7316f96af0


[ROCm/clr commit: 35c8493237]
2021-04-01 00:21:19 -04:00
Alex Xie e0c4654f3e SWDEV-268914 - Linux, AMF, tests fail to scale images down
This is part 2 of the change. This is for PAL backend.
The parent buffer sometimes has newer data than the sub buffer or image.
We always need to copy the data into copybuffer in pitch workaround.

Tests:
clinfo
Conformance tests: all images test, info, API, basic.
Internal runtime tests

Change-Id: I97d876ac75b240e69b48244be4c9e522db24f8ac


[ROCm/clr commit: 0de4b2962c]
2021-03-31 11:17:56 -04:00
pghafari 4578277e13 SWDEV-245532 - HIP - Vulkan interop
Change-Id: Iba1ef8112e318b4f099da5a4a4602e0dae7de9e3


[ROCm/clr commit: a9304f6111]
2021-03-31 10:23:31 -04:00
Anusha GodavarthySurya 9c5451a2fe SWDEV-278873 - hipStreamCreate handle invalid flag value
Change-Id: I05c0e0b76f7b09947e48d5b9f225af305bade27f


[ROCm/clr commit: d9debabdc3]
2021-03-31 07:59:41 -04:00
Chauncey Hui cf25ce9dc8 SWDEV-2 - Change OpenCL version number from 3282 to 3283
[ROCm/clr commit: 925da60e88]
2021-03-31 03:00:06 -04:00
Jatin Chaudhary f4f119792a SWDEV-279372 - HIP_CLANG_PATH should resolve from HIP_PATH if its defined
Change-Id: Iee909f1e2f3d6443b494846219ad955a1f0ebfe8


[ROCm/clr commit: 32498b61ff]
2021-03-31 00:31:45 -04:00
Alex Xie 06349fd486 SWDEV-276304 - [Navi][OpenCL][Linux]AMF Converter generate corrupted Frames
This is part 2 of the code change for PAL.
The copy image workaround could be recursively used by ROCclr blit kernel.
Avoid such situation by using stack variable.

Tests:
clinfo.
Conformance tests - basic, API, info, and all images tests.
Internal runtime tests - all passed.

Change-Id: I3c822e55398cdf35c2c4a46ed9fc20fbee7cc908


[ROCm/clr commit: 090cf6c6d3]
2021-03-30 15:56:01 -04:00
Sourabh Betigeri 9d4360b1ff SWDEV-274727 - Disabling tests temporarily
Change-Id: I695daebe15f592afdfee8e4efe4d8966b6e9922a


[ROCm/clr commit: 2ba421f784]
2021-03-30 13:02:19 -04:00
Alex Xie 859d0bd497 SWDEV-276304 - [Navi][OpenCL][Linux]AMF Converter generate corrupted Frames
The copy image workaround could be recursively used by ROCclr blit kernel.
Avoid such situation by using stack variable.

Change-Id: Iadaa8cad9216220194760dd461a9533bb236aea0


[ROCm/clr commit: 2bd1836049]
2021-03-30 12:07:00 -04:00
sumanthtg 5b48c40a55 SWDEV-278478 - hipDeviceGetPCIBusId-vs-lspci test enabled only for linux environment
Change-Id: Ia86174505d912a32b07e8e959adfba6391c3284d


[ROCm/clr commit: 5a84691e52]
2021-03-30 09:28:28 -04:00
Chauncey Hui 01587b3b82 SWDEV-2 - Change OpenCL version number from 3281 to 3282
[ROCm/clr commit: 654f51dfc8]
2021-03-30 03:00:08 -04:00
Jatin Chaudhary a3df8ee846 SWDEV-278810 - Remove default addition of CXX Flags if file type is not recognized
Change-Id: I2b29f246d138b511d77f8e78f273795b4977313f


[ROCm/clr commit: 8e9e8f40e4]
2021-03-30 00:47:56 -04:00
pghafari 9344b16621 SWDEV-245532 - HIP - Vulkan interop
Change-Id: I741f48e095c203bb1304f5b5e44f8c87b14b5497


[ROCm/clr commit: f1d58ae0d6]
2021-03-29 12:06:35 -04:00
Sarbojit Sarkar 47a6267c7c SWDEV-277926 - Updated deprecated APIs in Cuda
Change-Id: I9ff655af227b245067eb760325c395bb562696ee


[ROCm/clr commit: b7a03695c3]
2021-03-29 01:19:19 -04:00
Satyanvesh Dittakavi 85ca63f256 SWDEV-277152 - Add hipMemcpy2DToArrayAsync API in headers
Also, address few scenarios for hipMemcpy2DToArray/Async to return
proper error types

Change-Id: Idbadf666a5e7bebc0f3ea8b7048b79208e04cf6b


[ROCm/clr commit: 68abfb4aff]
2021-03-27 13:50:38 -04:00
Chauncey Hui c04f302154 SWDEV-2 - Change OpenCL version number from 3280 to 3281
[ROCm/clr commit: 682c87592c]
2021-03-27 03:00:07 -04:00
pghafari 457ca7c990 SWDEV-245532 - HIP - Vulkan interop
Change-Id: I0be4279bb1037640d138dd07e125b78a719743ca


[ROCm/clr commit: e64ce02ea2]
2021-03-26 13:59:13 -04:00
Chauncey Hui 0397cf5072 SWDEV-2 - Change OpenCL version number from 3279 to 3280
[ROCm/clr commit: 69eccabbc5]
2021-03-26 03:00:05 -04:00
pghafari b6461096d9 SWDEV-245532 - HIP - Vulkan interop, syntax update
Change-Id: I5fd4431bab4d975efec47298f2746fbcbbec8a44


[ROCm/clr commit: 74de707cf2]
2021-03-25 13:40:55 -04:00
German Andryeyev 59ee442a9c SWDEV-278346 - Replace assert with LogWarning()
ROCr returns some unexpected values and for now just return
invalid device back to the app

Change-Id: Ia6fb709ed2dc77d77bd5d64de80b41b3720bed76


[ROCm/clr commit: 8c513407af]
2021-03-25 10:19:33 -04:00
Chauncey Hui 9b674d93ed SWDEV-2 - Change OpenCL version number from 3278 to 3279
[ROCm/clr commit: 226af92939]
2021-03-25 03:00:07 -04:00
Maneesh Gupta f4eb8f4945 SWDEV-187253 - Print warning if launch_params > bounds
Change-Id: I138546bf816887576e797105f97ce37245911045


[ROCm/clr commit: dff604f557]
2021-03-24 22:29:19 -07:00
pghafari 01db6a04b3 SWDEV-245532 - HIP - Vulkan interop
Change-Id: I0e5bc4862925f344b3fcadf1fa0c0acaeaae6c4d


[ROCm/clr commit: 6e888b15ff]
2021-03-23 23:40:17 -04:00
Payam Ghafari 8bfbe25314 Merge "SWDEV-245532 - HIP - Vulkan interop" into amd-staging
[ROCm/clr commit: a4ec8608e8]
2021-03-23 23:36:59 -04:00
German Andryeyev 8382233851 Merge "SWDEV-276625 - Add implicit glFinish() for cl_khr_gl_event" into amd-staging
[ROCm/clr commit: f4cc6cf84f]
2021-03-23 14:32:21 -04:00
sumanthtg d21f8da966 SWDEV-278478 - Fix for hipDeviceGetPCIBusId-vs-lspci test failure
Change-Id: I7c722633ba8023f03bb64f5fb32b31f10015c327


[ROCm/clr commit: e7ee877a50]
2021-03-23 21:49:17 +05:30
Anusha GodavarthySurya d130931dcb SWDEV-272025 - Replace pushd/popd with cd
Change-Id: I0464e4079e31ddbc4e2032d64600f1f2c31a2c1f


[ROCm/clr commit: 5577936baa]
2021-03-23 05:24:50 -04:00
Chauncey Hui a553bf68ac SWDEV-2 - Change OpenCL version number from 3277 to 3278
[ROCm/clr commit: 1b9de9bee0]
2021-03-23 03:00:07 -04:00
German Andryeyev 95091ae4a4 SWDEV-276625 - Add implicit glFinish() for cl_khr_gl_event
Modifies the behavior of clEnqueueAcquireGLObjects and
clEnqueueReleaseGLObjects to implicitly guarantee synchronization
with an OpenGL context bound in the same thread as
the OpenCL context.

Change-Id: I23eddee37a77f6c1c9d1a9ad3a3e1eb254a1ed82


[ROCm/clr commit: c4cde09339]
2021-03-22 16:49:03 -04:00
pghafari 5f179326bd SWDEV-245532 - HIP - Vulkan interop
Change-Id: Ied16503cc154fbda8ce28db25df746cccb19e0ba


[ROCm/clr commit: 67e9aac689]
2021-03-22 15:06:50 -04:00
Jason Tang a24ec756d0 SWDEV-277771 - Build opencl with c++ standard 14
Change-Id: I11c72b230320761f775e23816634b55ceaccb65e


[ROCm/clr commit: 2727d7047a]
2021-03-22 11:30:29 -04:00
Jason Tang 12802612a4 SWDEV-277771 - Build rocclr with c++ standard 14
Change-Id: Id91460ca50acd0640d479f207fb169d207648f61


[ROCm/clr commit: 542ae617e5]
2021-03-22 11:28:56 -04:00
Anusha GodavarthySurya 8a295bf7a6 SWDEV-269085 - Fix compilation error with clang
Change-Id: Iab5902c9a2702456fbe433fdefc40541c48acb71


[ROCm/clr commit: 23f8c84326]
2021-03-22 03:02:50 -07:00
Saleel Kudchadker 0a5d415c1d SWDEV-277847 - Move event lock_ to the beginning
For addMarker, assume T1 comes in first and enqueues a command C1.
Before T1 grabs the event_::lock_ it gets preempted. At this time,
T2 comes in, enqueues C2 and grabs the lock_ and updates event_. Now T1
wakes up and updates a older command C1 for the event.

Change-Id: Ia423782b23026302c40976385623cfdede32d70b


[ROCm/clr commit: b1657c4159]
2021-03-19 15:28:08 -07:00
jujiang 88c0959afb SWDEV-277423 - Correct hipStreamWaitValue doxygen format
Change-Id: I8914c14cb7a05d5d0bdfa054af14765c872c70a6


[ROCm/clr commit: cc69e95c1a]
2021-03-19 14:10:41 -04:00
Chauncey Hui 477332308c SWDEV-2 - Change OpenCL version number from 3276 to 3277
[ROCm/clr commit: fe84c3a912]
2021-03-19 03:00:05 -04:00
Tao Sang 2e89139b49 SWDEV-273138 - Update canUseStreamWaitValue retrieving
Remove canUseStreamWaitValue from hipDeviceProp_t.
Update canUseStreamWaitValue retrieving in hipDeviceGetAttribute().

Change-Id: I275bd42d8b03e141caaf9f1bc6b714e51ca72dfb


[ROCm/clr commit: 08625144b3]
2021-03-18 22:42:35 -04:00
Sourabh Betigeri 58f30f3174 SWDEV-274727 - The callback associated with the event was being processed after the event is destroyed. Commit after resolving merge conflict.
Change-Id: Ia7383c83318ca0c2a4f21f7aaf22b1cebd828cf0


[ROCm/clr commit: c90c7a5cf1]
2021-03-18 15:08:58 -04:00
German Andryeyev f0a961f36a SWDEV-277543 - fix destruction of the stream object
Change-Id: If2f532e66099805a7f05181e63f5454893a1a288


[ROCm/clr commit: 5c360446bf]
2021-03-18 13:24:46 -04:00
cjatin 48f0ba9cee SWDEV-272811 - Using OCML functions for conversion of fp to int
Change-Id: Id0c02bf6a2e0553d522035b078a9db4cd3fad215


[ROCm/clr commit: 06fa63df04]
2021-03-18 11:43:30 -04:00
Ravi C Akkenapally 212cc49ed6 SWDEV-276827 - Stream Operations: match API with CUDA
Change-Id: Ia79a950561e97df3b2229f76f5512dede2babf98


[ROCm/clr commit: 397bac37a3]
2021-03-18 07:52:29 -07:00
Sarbojit Sarkar 80bb284b12 SWDEV-276319 - Fix for -ve cases
Change-Id: Ie6157e3cdbd1f959c8ea502b48286bdf102b8a0f


[ROCm/clr commit: 43c371fb7b]
2021-03-18 00:21:43 -04:00
Sarbojit Sarkar 74532ae490 SWDEV-271539 - fix for hipMemcpy3D segfault
Change-Id: I9c76dfaa19fb3a848623ddf3297a6c8a38f7c494


[ROCm/clr commit: 16fcf72c42]
2021-03-18 00:20:52 -04:00
Chauncey Hui eca8f9d072 SWDEV-2 - Change OpenCL version number from 3275 to 3276
[ROCm/clr commit: a19caaf990]
2021-03-17 03:00:05 -04:00
Tao Sang e212e1a947 SWDEV-273943 - Enable runtimeApi.event dtest
Add device_id_ in hip::event to match cuda behaviour in
hipEventQuery() and hipEventRecord().
Enable hipEventElapsedTime test on AMD platform.
Workarround sporadic crash of hipEventIpc test due to
some bug of event ipc.
Add missing hipEventDestroy() in some event tests.
Fix some logic code errors.
Fix typo in comment.

Change-Id: I9ec74c475161b3e31df48d193449023e921f2924


[ROCm/clr commit: 629ea5fe19]
2021-03-16 17:12:08 -04:00
Satyanvesh Dittakavi a82c9f8322 SWDEV-264244 - Hide Notifications from HIP
This fixes hipStreamQuery returning hipErrorNotReady when idle
Change-Id: I3f77666a00bc6a7162b6c660d79e76c09669d94f


[ROCm/clr commit: a711a49881]
2021-03-16 06:30:55 -04:00
Vladislav Sytchenko d09885f10d SWDEV-275317 - Correctly pass HIP image width to ROCclr APIs in AtoD/DtoA copies
HIP assumes that image width is in bytes, but OCL/ROCclr assumes that
it's in pixels. AtoD/DtoA need to account for this.

Change-Id: I275bd41d8b03e141caaf951bc6b714e51ca72dfc


[ROCm/clr commit: 82e40a6438]
2021-03-15 21:09:58 -04:00
German Andryeyev 6df593de96 SWDEV-276569 - Add P010 support for DX9
Change-Id: I652debccc0fabad89eff3052b884a59d44ee8233


[ROCm/clr commit: 89791c14f9]
2021-03-15 14:45:26 -04:00