kjayapra-amd
3e6cf63a83
SWDEV-241902 - Changes to pass file descriptor and offset to load code object.
...
Change-Id: I0243cccdeaa533b2a56fde42f12d5424c3b63a3b
[ROCm/clr commit: a66c56d641 ]
2020-09-15 07:54:24 -04:00
Jason Tang
eaf65e59ae
Remove gfxipVersion_ from device level
...
Change-Id: I11485beffdb9371a20d7abcaa1d1774c102db574
[ROCm/clr commit: 5ecce5c287 ]
2020-09-07 11:33:49 -04:00
kjayapra-amd
bfaa8f8ab5
SWDEV-240800 - P2P device attributes support
...
Change-Id: I2b060a66715f676dfb7136940e69e21288f509d8
[ROCm/clr commit: 0163d8acc0 ]
2020-09-03 14:41:53 -04:00
Tao Sang
f3b85497ae
Replace private libelf with elfio
...
Change-Id: I4c630d78f7bf23dda85ec8480bb2790864405657
[ROCm/clr commit: e986f5c820 ]
2020-08-26 12:32:13 -04:00
Jason Tang
04054e9b60
SWDEV-246565 - Remove passing -msram-ecc to Comgr
...
Change-Id: I1604a0014186a5779561da3ec3eefec65aff5c37
[ROCm/clr commit: f8f6bc16a1 ]
2020-08-06 12:48:53 -04:00
Tao Sang
44eb207f8d
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
[ROCm/clr commit: fdef6f722f ]
2020-07-22 22:14:13 -04:00
Jason Tang
cd1ee42c36
SWDEV-232197 - Use HSA_ISA_INFO_NAME as the TargetID
...
TargetID will be passed to LC compiler.
Change-Id: I0385634922c11d53b57ebd596047698c47bda72b
[ROCm/clr commit: 8b7e0f3cfe ]
2020-07-21 09:24:03 -04:00
kjayapra-amd
adb0ce1c43
SWDEV-240165 - Move all amd::MemObjMap_ reference to ROCclr and only allow base ptr to get ipc handle.
...
Change-Id: I9de10a0c4ba4dee3b3c8b972966840ab807001d8
[ROCm/clr commit: 16e6b65b5c ]
2020-07-09 21:19:45 -04:00
German Andryeyev
67c2bf6df4
Return always true for P2P validation under ROCr
...
Change-Id: Id32a5a94a642e708d1d042c5247af38501bec153
[ROCm/clr commit: 059832b526 ]
2020-07-04 11:38:04 -04:00
Jason Tang
e762c29a30
Get gpu asicRevision_
...
Change-Id: I8afb53e027d912843655823eebaec29901c33d28
[ROCm/clr commit: 30e36a4925 ]
2020-06-12 14:51:52 -04:00
German Andryeyev
0a6056ac82
Initial HMM support
...
- Expose ROCclr interfaces for HIP usage
- ROCr interfaces aren't available in staging, thus control the
build with AMD_HMM_SUPPORT define
Change-Id: Iadc2bcc230e78d3b0dc22b235189c8cc80843446
[ROCm/clr commit: c5afd5d412 ]
2020-06-12 09:06:07 -04:00
kjayapra-amd
c7b79be23d
SWDEV-237467 - Adding return type to comply with -Wall compiler flag.
...
Change-Id: I3c9935105ef262cdbf1c8ee293930b018be0197a
[ROCm/clr commit: 3603272d24 ]
2020-05-23 14:22:54 -04:00
kjayapra-amd
c1e072980d
SWDEV-237467 - Return proper hip error codes incase of ROCclr IPC API failures.
...
Change-Id: I1d018918ed71f6d80846b3017f7a15f4ab496554
[ROCm/clr commit: 53a890b499 ]
2020-05-22 22:10:15 -04:00
Alex Xie
48068bdb89
Fix compile error in certain version of GCC
...
Change-Id: I27f021db908bf114a685427a47cd9f0d6b2e5693
[ROCm/clr commit: 966448c53b ]
2020-05-20 13:13:55 -04:00
Chauncey Hui
d400543947
Modified IpcDetach to return status instead of void.
...
Change-Id: I68ed94b93f0383babe25eb046b4047d249a0fdc1
[ROCm/clr commit: 0af9c06968 ]
2020-05-20 03:38:21 -04:00
Jason Tang
f94e958680
Add major/minor/stepping to device layer
...
Change-Id: If82ea55a46b166b243a98089a6e9c40ccfdb479f
[ROCm/clr commit: cd2a713d63 ]
2020-05-17 12:57:34 -04:00
Alex Xie
a97194485a
SWDEV-232894 Port hipMemcpy optimizations from HCC to VDI
...
Apply the optimization to change for OpenCL too.
Clean up some unnecessary checks.
Change-Id: I840261fe35baeeadeba7388e86779d482f509aad
[ROCm/clr commit: 6c5a42b33c ]
2020-04-30 11:06:28 -04:00
Alex Xie
c158b9b3d0
SWDEV-232894 Port hipMemcpy optimizations from HCC to VDI
...
Change-Id: I6bebe9ac503a9f80d067aeea8a848409ad210338
[ROCm/clr commit: 009d0b5f55 ]
2020-04-27 14:53:58 -04:00
German Andryeyev
29c091d624
SWDEV-224639 - Device memory is still occupied
...
- Add cache free on OCL context destroy
- Remove std::mem_fun() usage, since it was removed in c++17
Change-Id: If6acd08f13a2298912ecd78fc025dcf0b32aee54
[ROCm/clr commit: 9f795d750d ]
2020-03-30 17:39:21 -04:00
German Andryeyev
35dee1ac53
SWDEV-193956 - [hipclang-vdi-rocm][perf]
...
~45% to 50% of Performance drop on rocBLAS_int8 test
Add support for active waits without blocking the host thread.
Change-Id: Ie7bb48dcafcb4c93d448bf74749b829b626c3578
[ROCm/clr commit: 0fc433e076 ]
2020-03-04 17:02:15 -05:00
Vladislav Sytchenko
c64226cefe
SWDEV-224335
...
cl_bool needed to be replaced with uint32_t instead of bool. This is due to cl_bool being a typedef of cl_uint32.
Currently clGetDeviceInfo() reports incorrect size for the return value, due to cl_bool being 4 bytes and c++ bool being 1 byte.
Change-Id: I647a4b8873627059865c84c8ca27694dbc0916de
[ROCm/clr commit: 243a3c2aa4 ]
2020-03-03 11:50:37 -05:00
Laurent Morichetti
b3297f189d
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
[ROCm/clr commit: d9d9c69399 ]
2020-02-12 13:16:06 -08:00
Laurent Morichetti
e284923583
Update copyright info
...
Change-Id: Ia4f9ff0f5f873b4223a8cca154188bb0d2f1abba
[ROCm/clr commit: b4c6143a2f ]
2020-02-04 09:26:14 -08:00
Laurent Morichetti
011f3e945b
Merge branch 'origin/pghafari/vdi-prototype' into lmoriche/amd-master
...
Change-Id: Id3b833d405596735becb3346f3b08c6da57033fe
[ROCm/clr commit: 20c7173849 ]
2020-01-30 20:12:13 -08:00