Sarbojit Sarkar
02dc6f9f9a
SWDEV-310181 - Fix for AtoH Memcpy tests failure
...
Change-Id: Ibf8c8c01257f0516088d50d5c9f82040ed8fa067
2021-11-29 22:55:23 -05:00
Satyanvesh Dittakavi
c56317b2e0
SWDEV-292714 - Add unique id for each allocation to support HIP_POINTER_ATTRIBUTE_BUFFER_ID
...
Change-Id: Ibb3fcb2d0bbbef03525fc884d5b3e9b5f6c11423
2021-11-24 06:10:50 -05:00
agunashe
82e73c096b
SWDEV-301069 - current device id saved while allocating memory in VDI
...
Change-Id: Ic5426895fb1d152e4e6e1baf8b938f35c85fa3d8
2021-09-16 14:00:07 -04:00
kjayapra-amd
788ae8595b
SWDEV-295144 - Change uint64_t to size_t to fix failure on 32-bit opencl.
...
Change-Id: I5c28e9c606dec1c956f3f48071d8a0271adfff22
2021-08-22 23:56:08 -07:00
Satyanvesh Dittakavi
924695fb5e
SWDEV-292021 - Fix Device Reset
...
- Device Reset should not purge the allocations that were not by the user
- Addresses QMCPack Test abort due to the removal of all the mem objects during reset
Change-Id: I7b7a123e72bcc985d7e51d17c2382bc618d3e041
2021-08-22 23:56:08 -07:00
kjayapra-amd
e01a24d8b5
SWDEV-295144 - Typecast arena mem ptr(0x2) to void*, otherwise results in wrong constructor overload.
...
Change-Id: I433b70dc70377ae0c5f9b29818703e1ac9d95053
2021-08-22 23:56:07 -07:00
agunashe
d96481fb36
SWDEV-293742 - Update copyright end year VDI repo
...
Change-Id: I69d2fea4a7a43adf96ccea794270e4af991c5261
2021-08-22 23:56:07 -07:00
kjayapra-amd
1c49d8816c
SWDEV-286346 - Implement Arena Memory Object for externally created memory.
...
Change-Id: I8530602d89edf83ad367c52167e48a1559ee1e18
2021-05-18 10:59:52 -04:00
Jason Tang
0d47b06928
SWDEV-1 - Fix warnings when building with clang++
...
Change-Id: Idebd2b618b9a3360147984a0e33852dbe2e65818
2021-02-18 10:02:46 -05:00
Ravi C Akkenapally
0a5f9a3b10
SWDEV-179105 - Stream Operations: Add support for Wait and Write
...
Change-Id: Ibffa1d6d573826b64763da280074a77271d66808
2021-02-15 17:02:38 -08:00
German Andryeyev
089a5cc4ad
Add image view allocation
...
If deferred allocation is disabled, then make sure the image view
is created without a delay. Also reset the allocation state, since
create() method isn't called for a view creation.
Change-Id: I7aa22a62bff18289ade83e56b5d3305ba68c715b
2020-11-18 09:37:30 -05:00
Jason Tang
25cc965c76
Change file mode 755 back to 644
...
Change-Id: I4ba5d66997ffd3331c56674d4bf805160dcdf049
2020-10-19 15:09:32 -04:00
Laurent Morichetti
5d4b6f74d3
Use std::atomic
...
Replace amd::Atomic with std::atomic. Remove make_atomic uses by
converting the variable to std::atomic and making sure the memory
order is relaxed when synchronizes-with is not needed.
Delete utils/atomic.hpp.
Change-Id: I0b36db8d604a8510ac6e36b32885fd16a1b8ccfa
2020-09-09 14:55:29 -04:00
Tao Sang
fdef6f722f
Apply constexpr on global constant varaibles
...
When HIP_ENABLE_DEFERRED_LOADING=0, many global variables will be
referenced but they are not initialized in that early time. The patch
will use constexpr to initialze global constant varables in compile
time.
Change-Id: I9d538b7abc6a0ce700ec3332b97fc144db5fc1ef
2020-07-22 22:14:13 -04:00
kjayapra-amd
16e6b65b5c
SWDEV-240165 - Move all amd::MemObjMap_ reference to ROCclr and only allow base ptr to get ipc handle.
...
Change-Id: I9de10a0c4ba4dee3b3c8b972966840ab807001d8
2020-07-09 21:19:45 -04:00
Tao Sang
53264a8a4a
Support numa policy set by user
...
Add CL_MEM_FOLLOW_USER_NUMA_POLICY
Change-Id: I90a19dac7641827dff2ceb9ef8ae5f3467ed87a1
2020-06-19 18:16:47 -04:00
Tao Sang
db10d42e50
Make hipHostMalloc() respect hipSetDevice()
...
Change-Id: Ibdb666fe8dd049735df2288878501a66f7eedc28
2020-06-12 18:32:10 -04:00
Laurent Morichetti
d9d9c69399
Replace cl_* integral types with standard types.
...
cl_bool -> bool
cl_int -> int32_t
cl_uint -> uint32_t
cl_long -> int64_t
cl_ulong -> uint64_t
cl_float -> float
cl_double -> double
cl_bitfield -> uint64_t
Change-Id: I840c8993b55f98f5b745d21e27f5f28233647a58
2020-02-12 13:16:06 -08:00
Laurent Morichetti
b4c6143a2f
Update copyright info
...
Change-Id: Ia4f9ff0f5f873b4223a8cca154188bb0d2f1abba
2020-02-04 09:26:14 -08:00
Laurent Morichetti
20c7173849
Merge branch 'origin/pghafari/vdi-prototype' into lmoriche/amd-master
...
Change-Id: Id3b833d405596735becb3346f3b08c6da57033fe
2020-01-30 20:12:13 -08:00