Michael LIAO
04d62f3fb6
[vdi] Fix -Wsign-compare warning. NFC.
...
- TeamCity build failed as `-Werror` is turned on.
Change-Id: Icd2cbd45f60e3c296894e8e73685e1d177f125a8
[ROCm/clr commit: 679f49c904 ]
2020-04-06 12:16:07 -04:00
German Andryeyev
d14399f60f
SWDEV-184709 - support hipLaunchCooperativeKernel()
...
- Add validation checks for cooperative launch to pass Cuda test
Change-Id: Ie296f0c3f113909d9a357879db3b2a833ab314c5
[ROCm/clr commit: 5efb3f26c0 ]
2020-04-03 15:18:21 -04:00
kjayapra-amd
bce2b56ea0
SWDEV-216213 - Use different static & dynamic module maps for faster lookup.
...
Change-Id: Ia605e76a411ad5be04046b9d61f1ac111d49bb4a
[ROCm/clr commit: 7356a74d35 ]
2020-03-30 14:28:07 -04:00
kjayapra-amd
216aba5512
SWDEV-216213 - Lookup module functions from PlatformState::functions_.
...
Change-Id: I91dfe327f2ebdcf4c9b39ddd14d60aa0ce2fa9f4
[ROCm/clr commit: 334a1f8770 ]
2020-03-20 11:52:28 -04:00
Vladislav Sytchenko
84ba26979a
Start the lifetime of the texture reference
...
reinterpret_cast<> doesn't create an object, so the texref is actually unitiliazed. This may lead to garbage data in some of its struct members.
Initialize it by performing a placement new. The constructer should set all of its members to default values. There's no way currently to extract the channel type, so use single channel char for now.
Change-Id: I41b305a75bb3f30130324de785099f55b3e130c7
[ROCm/clr commit: b4a0008b36 ]
2020-03-18 12:30:11 -04:00
Payam
95100eb890
removed excutable permission from source files
...
Change-Id: Iae8639a96c55a098e28de41c5a3f38a07acbe25c
[ROCm/clr commit: eb4bd38c27 ]
2020-02-25 16:16:47 -05:00
Karthik Jayaprakash
e7af38c1cf
SWDEV-223674 - Return hipErrorNoBinaryForGpu in case particular binary is not found in clang offload bundler.
...
Change-Id: Iaa08fcdc8ecb719edd9f81e4a1456ea642f362f4
[ROCm/clr commit: 4b2ff6ec91 ]
2020-02-19 20:01:36 -05:00
Christophe Paquot
dad62d78c0
Introducing hip::Device which wraps around amd::Context and deviceId
...
Change-Id: Ie35a6edb65c001b35eb9f5d2af26e765dc41c00e
[ROCm/clr commit: b4ad4262cc ]
2020-02-18 17:18:56 -05:00
Karthik Jayaprakash
8ad9be80bd
SWDEV-223394 - Pass module info from hipModuleGetTexRef to internal Platformstate:: functions.
...
Change-Id: I7d1ba3f940f595c3fca74a57fa20f484c52d4741
[ROCm/clr commit: e066cc6f60 ]
2020-02-18 11:23:03 -05:00
Christophe Paquot
c1e679491a
Don't create a marker for start event in hipModuleLaunchKernel
...
And also don't optimize the case where start==stop event to compute
elapsed time since the command can be a NDRange one.
HIP directed test will need to be fixed for that.
Change-Id: I64fadd6ab8ab1a490e7a2b7165a591df5a5cf3a2
[ROCm/clr commit: 1f5ae789bb ]
2020-02-17 14:16:31 -08:00
Laurent Morichetti
3765569608
Update copyright info for VDI files
...
Change-Id: Ib160fbf89ec89a5895321f73402a33b4d344a68f
[ROCm/clr commit: 5b098e68b6 ]
2020-02-04 08:47:10 -08:00
Laurent Morichetti
bb38362f74
Merge HIP/VDI branch 'amd-staging' into lmoriche/amd-master-next
...
Change-Id: Iabaab4e72815ba483a1330ec6a1130f2b86676f0
[ROCm/clr commit: 6f3e18a764 ]
2020-01-29 15:02:13 -08:00