Satyanvesh Dittakavi
06203c251e
SWDEV-330667 - SWDEV-333599 - Fix hipHostRegister and hipMallocPitch APIs
...
- hipHostRegister should return hipErrorInvalidValue when size is 0 or
size doesn't match the actual allocated size
- hipMemAllocPitch should return hipErrorInvalidValue when width or height
is 0 and elementSizeBytes should be 4, 8 or 16
Change-Id: I43c9fe4ac1ef0a6ac2f953908d301508a7bc5aa3
2022-04-28 13:07:08 +00:00
Chauncey Hui
75bc2d75a0
SWDEV-2 - Change OpenCL version number from 3457 to 3458
2022-04-28 03:00:03 -04:00
Christophe Paquot
6d73282f25
SWDEV-322620 - Virtual Memory Management
...
Implemented hipMemMap and hipMemUnmap
Change-Id: Idc75e3964d88e375e445733557cfa8e421688f1f
2022-04-28 02:14:14 -04:00
haoyuan2
424c4ce5c4
SWDEV-333187 - Support IPC in HIP runtime on Windows
...
enable shared memory based IPC
Change-Id: Ic1ad8d426863c2137747a3d468fe02d073f5d248
2022-04-27 23:05:56 -04:00
haoyuan2
59b1ae0a79
SWDEV-333187 - Support IPC in HIP runtime on Windows
...
enable shared memory based IPC
Change-Id: I2657ef4713240b6f82a34f416d53f222630263ca
2022-04-27 11:14:59 -07:00
Julia Jiang
b7c7917256
SWDEV-334574 - Rename _bkendDevice in VDI
...
Change-Id: I1c04dad226e08f02bca11fa0d1981fafa7ea2d2a
2022-04-27 11:21:24 -04:00
Chauncey Hui
77b5ca79bb
SWDEV-2 - Change OpenCL version number from 3456 to 3457
2022-04-27 03:00:11 -04:00
pghafari
63f23ec2b0
SWDEV-327960, SWDEV-316901 - Adding Graph checks
...
hipGraphExecMemcpyNodeSetParamsToSymbol, fix for functional cases
failing as well
Change-Id: I9f263778f6b24e3ec35a78231a17e01c0d44f23a
2022-04-26 21:04:32 -04:00
Ajay
1abd0d6ecf
SWDEV-332522 - ipcEvents Avoid deadlock b/w streamWait & Event
...
Using device write to set 0 to signal while streamWaitEvent is checking
the signal.
Use app in SWDEV-314307 to verify this fix
Requires vdi #668012 change to work
Change-Id: Ie329a29cfaeb5d144b92cda36773646f913ca73d
2022-04-26 11:59:01 -04:00
Sarbojit Sarkar
6b15e0a1cc
SWDEV-333438 - Fix for hipEnablePeerAccess segfault
...
Change-Id: I60720d1d9b9c522d15fe17dcfbc609571a4fd266
2022-04-26 05:21:52 -04:00
Chauncey Hui
8cffe6d427
SWDEV-2 - Change OpenCL version number from 3455 to 3456
2022-04-26 03:00:06 -04:00
Ajay
d2f837d25f
SWDEV-332522 - streamOpsWrite & streamOpsWait to accept memory offset
...
Change-Id: I4b6ecb4d80c093d038d86616a637c4bb465ae24e
2022-04-25 14:59:36 -04:00
German Andryeyev
c275d9b4b3
SWDEV-307184 - Make sure runtime passes CO version into comgr
...
Disable devlib linking when runtime links multiple objects from
the app. Otherwise devlibs will be linked twice and may cause
undefined behavior with COv5.
Change-Id: I3b8640c64ff898893225fe3af5b4b4a32d42bf40
2022-04-25 09:53:59 -04:00
Satyanvesh Dittakavi
f1fb612774
SWDEV-332606 - SWDEV-333585 - Fix hipMemcpySymbol* and hipGetSymbol* APIs
...
- hipMemcpy[From/To]Symbol APIs to return hipErrorInvalidMemcpyDirection
if the copy kind is incorrect
- hipGetSymbolSize and hipGetSymbolAddress APIs to return hipErrorInvalidValue
if the pointer is null
Change-Id: I32f428045c804b1e4f648e91b507f749f60c09d0
2022-04-25 08:25:29 -04:00
Chauncey Hui
f80769ef1a
SWDEV-2 - Change OpenCL version number from 3454 to 3455
2022-04-25 03:00:05 -04:00
Jason Tang
ed7737564e
SWDEV-324411 - Use blit kernel for copyBufferRect if atomic is not supported
...
Change-Id: I2e110fd3418117ee9c7ede379244d2c6c4f248b7
2022-04-24 11:41:16 -04:00
Jason Tang
daf33f9d38
SWDEV-1 - Set CMAKE_POSITION_INDEPENDENT_CODE to ON
...
Change-Id: I95e4166e9fa96bde10a54a4842becce4ab554b22
2022-04-23 16:13:49 -04:00
Chauncey Hui
62deade03f
SWDEV-2 - Change OpenCL version number from 3453 to 3454
2022-04-23 03:00:05 -04:00
Christophe Paquot
67657d6099
SWDEV-322620 - Virtual Memory Management
...
Implement map/unmap for PAL backend
Create commands since PAL uses the IQueue to map/unmap
Change-Id: I97e26a7d28ae5e10774c9ca65307153100945621
2022-04-22 18:09:26 -04:00
Saleel Kudchadker
ddfd919a62
SWDEV-333237 - Release command before queing a marker
...
Change-Id: I5343c4b7ade2dc68efa7454a919a6657726c45d3
2022-04-22 12:58:58 -04:00
sdashmiz
15f1632dfa
SWDEV-204804 - Detecing pcie atomic support
...
- check pcie atomci support for printf functionality
- if not enabled printf wont work
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ib366e8e71772b02210c4a830bca4bd8cc7a11664
2022-04-22 08:53:16 -04:00
Chauncey Hui
b3a3779a06
SWDEV-2 - Change OpenCL version number from 3452 to 3453
2022-04-22 03:00:05 -04:00
Rakesh Roy
8ea74366d7
SWDEV-332603 - Check validity of ihipArrayCreate() first argument
...
Change-Id: Ifd0bdb5708c110da45e4baa9426cccd749732822
2022-04-22 11:08:37 +05:30
Rakesh Roy
2613ebf157
SWDEV-332604 - Add nullptr check for argument pitch
...
Change-Id: I6d7aa5356a74b92f21f7a51a7d3e2f8d0b920e07
2022-04-22 00:13:24 -04:00
Christophe Paquot
fd17b53ea4
SWDEV-322620 - Virtual Memory Management
...
Implement hipMemAddressFree and hipMemAddressReserve
Change-Id: I1b09e433db5c5c6d6b9fe2a7a15fe2c09f1e1874
2022-04-21 17:19:10 -04:00
German Andryeyev
b4c5a01fbc
SWDEV-333607 - Avoid synchronization of all GPU(s)
...
Use the original device from creation to sync before host memory
free.
Change-Id: I510e34afa7accf69e3d01338587bbc817b981cec
2022-04-21 15:36:04 -04:00
Christophe Paquot
4c3a20a16e
SWDEV-322620 - Virtual Memory Management
...
Implement virtualFree for PAL
Change-Id: I4482777fa52c979d42a7c57103862e2e02279024
2022-04-21 14:45:11 -04:00
Alex (Bin) Xie
10648c4d70
SWDEV-329646 - MicroStation app crash upon closing
...
Change-Id: I0ca272be42934ee96f45300fa06847cd74170f13
2022-04-21 12:29:48 -04:00
Chauncey Hui
d15c1ebae8
SWDEV-2 - Change OpenCL version number from 3451 to 3452
2022-04-21 03:00:08 -04:00
Saleel Kudchadker
8864e53265
SWDEV-333237 - Disable cache status
...
Enable Cache status only for ROC_EVENT_NO_FLUSH
Change-Id: I0de4c5af2226bccd66fd704be23c2db33050f2e2
2022-04-20 18:12:33 -04:00
Jason Tang
a3fe0fafe2
SWDEV-1 - Disable OCLAtomicCounter for now
...
OCLAtomicCounter should only be run when the compiler is HSAIL.
Change-Id: I862e23b22157d2c25bc5697fa58079c78040f5f5
2022-04-20 16:38:48 -04:00
Ranjith Ramakrishnan
95d0b79ca0
SWDEV-329277 - Populate hip_version.h wrapper file with actual file contents as dead code
...
Some components like tensorflow search for the contents of hip_version.h
For backward compatibility insert actual file contents in wrapper file as non executable code
Improvements: wrapper header template file checked in, instead of generating it on runtime
Redundant codes for unsetting variables removed
Change-Id: I67ee48437f8959d8ed70946412d09be3ed262e58
2022-04-20 12:08:56 -07:00
Alex (Bin) Xie
3d514c85b9
SWDEV-329646 - MicroStation app crash upon closing
...
Change-Id: Ie3422788c80b233c836e319c355214ca076e5d4f
2022-04-20 14:34:44 -04:00
Julia Jiang
b1611e0123
SWDEV-330164 - Fix in conformance svm_enqueue_api crash
...
Change-Id: I12eca6ca3e8d722b7534047fca79b289604aa2b0
2022-04-20 13:20:18 -04:00
Chauncey Hui
4664bde25e
SWDEV-2 - Change OpenCL version number from 3450 to 3451
2022-04-20 03:00:06 -04:00
Jeremy Newton
3121b1020a
Merge "SWDEV-321116 - Allow disabling ICD loader" into amd-staging
2022-04-19 12:35:21 -04:00
Sarbojit Sarkar
71b5235c64
SWDEV-332809 - Fix for OpenMp crash
...
Change-Id: I70445edf76261ab8ecf174614f23bd9fb8d60881
2022-04-19 11:29:19 -04:00
Alex Xie
5528812aa9
SWDEV-330240 - HLK pnp with IO stress test fail
...
This code change is to improve error handling.
This code change does not fix issue itself.
Before this code change, hostcallBuffer_ point is initialized in the end of
create() function. If create function fails and returns early,
hostcallBuffer_ point is not initialized. This non-initialized point can
cause access violation when object is destructed.
This code change put the initialization of the pointer in the constructor.
Change-Id: I7fb6e764eb0547196dca03db237e49d3ff0fd06a
2022-04-19 11:04:26 -04:00
Chauncey Hui
66ecd38af6
SWDEV-2 - Change OpenCL version number from 3449 to 3450
2022-04-19 03:00:06 -04:00
Sarbojit Sarkar
fc1f02bbed
SWDEV-323441 - support for default stream per thread
...
Change-Id: I0032da0357f5cffbf5e4ec4a02435d2a128a262b
2022-04-18 23:19:55 -04:00
Saleel Kudchadker
9ec8a7306d
SWDEV-332512 - Signal pool changes
...
Create a new signal if the next set of signals are busy
Change-Id: I5108e68c88fe41e3a45bad4495ebdf3742e76dcd
2022-04-18 15:58:38 -04:00
Saleel Kudchadker
aace42cfab
SWDEV-301667 - Add separate field for event scope
...
Change-Id: I0e6b50d1a34b275ea4f1a4c659430c406d9a5a7e
2022-04-18 15:48:33 -04:00
German Andryeyev
5957ff9f7b
SWDEV-311271 - Make sure memory pool can accept default stream
...
Add lock protection for access to the pool list.
Remove destroyed stream from the list of the safe streams
Change-Id: I1863b89bd3f5e188c161227cc790c3adaf72cc58
2022-04-18 10:34:21 -04:00
Satyanvesh Dittakavi
b06ee8834d
SWDEV-308763 - Remove older hiprtc implementation
...
Change-Id: I1f0a1fe9b6590070905348bf71b901ac77b196be
2022-04-18 05:12:53 -04:00
Satyanvesh Dittakavi
3b525ad298
SWDEV-332371 - Address seg fault with hip event tests on Windows
...
Change-Id: I0367f6dbb395b3032c97692c5bde6e99d503c6a9
2022-04-18 04:19:23 -04:00
Saleel Kudchadker
b6cbfaf499
SWDEV-301667 - Separate scope from marker_ts_
...
Change-Id: I19f4d394e898bfb8c9d9a2c2edf9d5bf5def3b08
2022-04-16 19:26:31 -04:00
Chauncey Hui
5d9063147c
SWDEV-2 - Change OpenCL version number from 3448 to 3449
2022-04-16 03:00:07 -04:00
pghafari
4d54f873b0
SWDEV-324412 - Removing depth24
...
OGLP fails conformance tests with depth24
Change-Id: I1efd66a81f64a5b999d0f3c3e9314b9e6129a587
2022-04-15 15:31:03 -04:00
Chauncey Hui
6cd647270b
SWDEV-2 - Change OpenCL version number from 3447 to 3448
2022-04-15 03:00:06 -04:00
Christophe Paquot
b5f555f9ec
SWDEV-322620 - Virtual Memory Management
...
Adding virtual memory management APIs to rocclr.
The HIP layer will handle virtual allocs on devices.
Change-Id: Ia978f105c2c3fed3959c77580ba228e845105754
2022-04-15 00:10:02 -04:00