Vladislav Sytchenko
f45cea29b7
[PAL] Clamp max image buffer size...
...
to the maximum size we can possibly create.
Change-Id: Iade51d84fdada4ae1299d9b2410d373a46357c66
2020-12-15 12:14:09 -05:00
Jason Tang
054f256589
SWDEV-260632 - [PAL] Report correct Target ID
...
Change-Id: Ia39395e2c02e7c95b3df93be1f8030b4fa734583
2020-12-01 18:33:25 -05:00
Jason Tang
0c62d3bf1c
SWDEV-260632 - [PAL] Use new Target ID format
...
Change-Id: Icd2d95b9c3f5adbd295fb2272bf453ccb9f09678
2020-11-24 17:38:13 -05:00
Jason Tang
3351b9c993
SWDEV-260632 - [PAL] Simplify NullDevice::init()
...
Change-Id: I9d44162f38806e3742c18da48e382baafeb7060f
2020-11-21 10:00:35 -05:00
Vladislav Sytchenko
026baec57b
[PAL] Navi23 support
...
Change-Id: I10bb0653746060bd83ca7feda10fdafc07ced845
2020-11-13 15:08:04 -05:00
Vladislav Sytchenko
5e60e06a50
[PAL] Navi22 support
...
Change-Id: I9f1741898b4afaa0e787d8053d8f006ee3d17017
2020-11-13 15:00:57 -05:00
Jason Tang
2ee2392f63
SWDEV-260376 - [PAL] Fix Windows build
...
Change-Id: I788198b5980a46981de4b2e7aaa6a495e6e98cad
2020-11-13 09:51:43 -05:00
Jason Tang
b1d75637bd
SWDEV-260376 - [PAL] Use Pal::AsicRevision to match device
...
A device's offset in Pal::AsicRevision could be changed from time to time, while the current implementation assume the offset never changes.
Change-Id: Id993512aa0da6e0b2356f594d5e58f76d1f97f16
2020-11-12 09:49:48 -05:00
Jason Tang
25cc965c76
Change file mode 755 back to 644
...
Change-Id: I4ba5d66997ffd3331c56674d4bf805160dcdf049
2020-10-19 15:09:32 -04:00
Rahul Garg
c0f8b52f06
Add image1DMaxWidth_ for maxTexture1D property
...
Needed by SWDEV-254068
Change-Id: Ic650dfb6e5b38d7544ba647c53de52deda39b92d
2020-10-14 17:30:43 -04:00
Vladislav Sytchenko
26d1b28b16
[PAL] Allow overriding reported asic revision
...
This is helpfull to do when debugging issues on lowend asics. Navi14 can be emulated as Navi10. So can Navi22 be emulated as Navi21.
Change-Id: I693ffd45a5b03657822afdc872781901bc69b65c
2020-10-13 09:36:15 -04:00
Vladislav Sytchenko
11bdf0005f
[PAL] Detect if resizable bar is enabled
...
Change-Id: I54b2e878d1cf7235a848a4b243f878538e226702
2020-10-02 12:25:00 -04:00
Jason Tang
5ecce5c287
Remove gfxipVersion_ from device level
...
Change-Id: I11485beffdb9371a20d7abcaa1d1774c102db574
2020-09-07 11:33:49 -04:00
Vladislav Sytchenko
d6e89ec371
Navi21 support
...
Change-Id: I7263556fdb85dc0152a2a72cc0ec4d7cd5e978a6
2020-09-03 11:14:37 -04:00
Jason Tang
f8f6bc16a1
SWDEV-246565 - Remove passing -msram-ecc to Comgr
...
Change-Id: I1604a0014186a5779561da3ec3eefec65aff5c37
2020-08-06 12:48:53 -04:00
Vlad Sytchenko
9d0b0c32a9
Fix typo
...
Change-Id: I8b659508f567afa126aeb7749b536b443935e3df
2020-08-04 11:15:21 -04:00
Vlad Sytchenko
24c1c48db7
Only enable HIP for Vega20 on non-ROCm platforms
...
SWDEV-245906
All asics will still be supported for developer builds.
Change-Id: I0eac2246162d133fe63449c200d996fe05bd51bd
2020-07-27 13:09:58 -04:00
Jason Tang
65f4230494
SWDEV-232197 - Use TargetID for action_info_set_isa_name()
...
Change-Id: I6661a2bbc2e55586c1b5029694d67cb54a4f23a6
2020-07-22 13:47:17 -04:00
Jason Tang
532083f87c
For apu: call commitSvmMemory() from Device::svmAlloc()
...
Change-Id: Ic6e9b2ad4624e7e1c50835d3825254c76e764bf0
2020-06-22 10:09:32 -04:00
German Andryeyev
01fcf82448
Switch PAL to interface 610
...
Change-Id: Ida563f38513789f5ba105ac92a9737c59cd5d90d
2020-06-19 11:40:12 -04:00
kjayapra-amd
1982c16e46
FEAT-30761 - Adding defaults to all Switch cases in PalDevice gfx detection.
...
Change-Id: Ic998dba44d3287484d6b0da4f07f320de8e6d92b
2020-06-04 20:49:58 -04:00
kjayapra-amd
ea0137fb22
FEAT-30761 - Fixing fall through in gfxip major/minor detection.
...
Change-Id: Ib97b3dbe993e01df3360cbeda6bd0d9d366535b6
2020-05-23 12:42:44 -04:00
Jason Tang
cd2a713d63
Add major/minor/stepping to device layer
...
Change-Id: If82ea55a46b166b243a98089a6e9c40ccfdb479f
2020-05-17 12:57:34 -04:00
Jason Tang
9b5e1fec6c
Correct the way to get subtarget
...
Change-Id: I47805424c0bd69547cff0ab71c369552016052b5
2020-05-15 17:18:39 -04:00
Vlad Sytchenko
2963d0d454
Add entry for another unannounced asic
...
Change-Id: I63c6ce6221e812a33e9427841be49840a8f48154
2020-04-28 14:23:57 -04:00
Vlad Sytchenko
63b90a32c4
Add entry for new device id
...
This is accomodate upcoming Pal::AsicRevision changes.
Change-Id: Ic108b647f3548d34b7aa83d6077fb88452768998
2020-04-28 14:23:49 -04:00
German Andryeyev
e289ebdf20
SWDEV-231691
...
- Problem with CL_DEVICE_GLOBAL_FREE_MEMORY_AMD query.
Check if allocated memory exceeds the total size.
Change-Id: Ieed8829860663bac1acfa41d21309dff4d8772c7
2020-04-17 09:03:04 -04:00
jujiang
d392082a30
SWDEV-223160, SWDEV-227911- Fix Memory Copy Peer failure on Navi10 MGPU configuration
...
Change-Id: I2bf559b87cba638b5af858c2d4fe5a252d16a5d9
2020-03-26 10:13:19 -04:00
Vladislav Sytchenko
52046e41b2
SWDEV-224023
...
Correct typo.
Change-Id: I72131a6e0210e7b961e586cd0ae18608d21fc529
2020-03-15 16:37:25 -04:00
German Andryeyev
c6d3aea572
SWDEV-79445 - Fix a regression in Linux
...
PAL doesn't report queue priorities under Linux
Change-Id: I3e1632ee2bcbbbaf52b45565f6b6aec24c559922
2020-03-10 12:39:56 -04:00
Vladislav Sytchenko
e76d867740
SWDEV-224023
...
Each WGP consists of 2 CU, so the number of available SIMD units is doubled.
Change-Id: I43978a8a9139c33f5f776b344a36bee927cc187d
2020-03-06 13:43:36 -05:00
German Andryeyev
622c714165
SWDEV-79445
...
Add MS HWS support. PAL reports just one compute engine
in that mode and runtime needs extra logic to detect RT queues.
Change-Id: I011f1f1b18dec6a7195a4f1fe939f8029bc269ae
2020-02-28 19:05:17 -05:00
Vladislav Sytchenko
5de65ba4a0
Enable SVM atomics for HIP/Win
...
hip_threadfence_system passes locally with this change. This also fixes
hipHostMalloc() failures when hipHostMallocMapped flag is used.
Change-Id: Id412efe502accc7c6e7676b52c05ccb9d8fbbe67
2020-02-19 23:22:37 -05:00
German Andryeyev
1be1e69f2a
SWDEV-222307 - Add CMake support for PAL
...
Remove dependency on COMGR headers from backends.
Remove GFX103 PAL defines.
Change-Id: I6ff76dca2a0c84bc191e8fc8b639f2f5872d2085
2020-02-18 10:56:31 -05:00
Saleel Kudchadker
0730b39adb
Implement HIP_HIDDEN_FREE_MEM env var
...
Set value to 256Mb to reflect what HIP/HCC reserves
Change-Id: Icaadf79f60d3916965ac168da237d15b975b1fe4
2020-02-14 12:57:11 -05:00
Laurent Morichetti
b81816f482
Fix build errors for PAL and GSL
...
The last commit to replace the cl_* types with standard types
failed to correct issues introduced in the PAL and GPU backend.
Change-Id: I926997234dfbe346fc165a7bc4e1b8aabab7bac5
2020-02-13 16:52:32 -05: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
German Andryeyev
da5f4c554e
Add CMake support for PAL backend
...
Change-Id: Id0673d43217be305aa4ca7a612c416baee3fb23c
2020-02-10 11:18:24 -05: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