Tony Tye
29ca46821b
Add stronger checking
...
- Add assertions to enforce that objects are of the correct kind and
have been allocated.
- Make destructors check if objects have been allocated before
deleting.
- Operations that require a non-NullDevice return failure if given a
NullDevice.
- Use static_cast rather than reinterpret_cast when cohersing from a
base class to a derived class.
Change-Id: I02ee0ea9d7982fd7ca29d49c9b02cfae111b7127
[ROCm/clr commit: e5431676d4 ]
2021-01-13 08:24:28 +00:00
Tony Tye
2cb73c8b82
Rename device access functions
...
Rename functions that access devices to reflect the derived device
they return. This includes the base device::Device and the derived
gpu/pal/roc device classes in both NullDevice and Device forms. Change
to use the least derived versions to clarify what operations will be
available.
Change-Id: I1abb6bfed7efa24852bc8d0d49acaea357d8b5d0
[ROCm/clr commit: 001fd66cac ]
2021-01-13 08:24:28 +00:00
Tony Tye
3b6c42f78d
[NFC] Correct comments and line spacing
...
- Correct spelling mistakes or working in comments.
- Adding missing line separators.
- Add missing comments for namespace closing brace.
Change-Id: If09cdd38aa088b0f68f750dfdef81351eb8c4935
[ROCm/clr commit: eb16dc5ef3 ]
2021-01-13 08:24:28 +00:00
Jason Tang
091f1e8e85
Change file mode 755 back to 644
...
Change-Id: I4ba5d66997ffd3331c56674d4bf805160dcdf049
[ROCm/clr commit: 25cc965c76 ]
2020-10-19 15:09:32 -04:00
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
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
c926997eb8
Use ARCTURUS
...
Change-Id: Ib25d150c9314180178d5cf00835a06e47c02c2a9
[ROCm/clr commit: 6f8eaff4df ]
2020-08-07 11:14:24 -04:00
Jason Tang
fdf3ebad76
SWDEV-232197 - Use TargetID for action_info_set_isa_name()
...
Change-Id: I6661a2bbc2e55586c1b5029694d67cb54a4f23a6
[ROCm/clr commit: 65f4230494 ]
2020-07-22 13:47:17 -04:00
Rahul Garg
3398448fb0
Handle size 0 symbols
...
Change-Id: I1629c5027ec5f9af48c8e9e0696829b844423096
[ROCm/clr commit: 60473ae542 ]
2020-07-21 10:10:36 -04:00
agodavar
f6c4063ec1
SWDEV-242592:Remove define of UndefinedVars in setKernels
...
Change-Id: I51b0c5ac6c4cb2564a53f7c45fdf8a893a5edbd3
[ROCm/clr commit: de31b341d2 ]
2020-07-09 23:15:31 -04:00
Matt Arsenault
8892ba072f
Fix unused function warnings for conditionally used functions
...
Change-Id: Ied23c571b949abef1816914986f19b14aca3d2f3
[ROCm/clr commit: c56a82fd05 ]
2020-07-06 10:28:43 -04:00
Matt Arsenault
2c395913a7
Remove unused functions
...
Change-Id: I55db791019c511de83d8b895e3a48b3d7475aeac
[ROCm/clr commit: 9e3e41ca2e ]
2020-07-06 10:27:29 -04:00
Michael LIAO
b785d25506
Clear executable permission.
...
Change-Id: Ia0d363b1ba89d7947e5b5a55cb67edba86f0515e
[ROCm/clr commit: 503ef06555 ]
2020-05-07 10:38:58 -04:00
kjayapra-amd
817764a12b
SWDEV-229840 - Improve Error Codes. RocKernel and RocProgram
...
Change-Id: I8f785308e0562a50924f8bdd02e88c92a759f01a
[ROCm/clr commit: cd7de89fc3 ]
2020-04-02 22:30:53 -04: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