Graf commitů

4445 Commity

Autor SHA1 Zpráva Datum
Jason Tang 7356d2ecb1 SWDEV-316665 - Use CMAKE_SIZEOF_VOID_P to detect 32bit build
Change-Id: If959b0d012caa55afbe54f0fe7da8ad3cca6d452
2022-03-15 10:56:26 -04:00
Chauncey Hui c0ada20664 SWDEV-2 - Change OpenCL version number from 3431 to 3432 2022-03-15 03:00:06 -04:00
German Andryeyev 43ea9a8e31 SWDEV-286150 - Switch PAL version to 711
Change-Id: Iaf07946d6327f92ed734223a6b38c433ce368c4a
2022-03-14 13:00:40 -04:00
Chauncey Hui e8501ecda9 SWDEV-2 - Change OpenCL version number from 3430 to 3431 2022-03-12 03:00:10 -05:00
Jeremy Newton f2e5ef5617 SWDEV-323669 - Fix linux arch detection
CMake assumes we're bundling on x86, but for GNU compatible compilers,
we should rely on the compiler target to set the build arch.

For non-gnu compilers, just fall back to assuming x86 (no change).

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: Iee9794e6f7c3973c781ddaf740ded77f34712c4f
2022-03-11 09:53:07 -05:00
Chauncey Hui c1858dc39e SWDEV-2 - Change OpenCL version number from 3429 to 3430 2022-03-10 03:00:14 -05:00
Saleel Kudchadker 3bf1d5ac97 SWDEV-301667 - Remove guarantee
Remove guarantee from AddMemObj as one can call it multiple times for
different devices

Change-Id: I49dd76068b3c4c709f17541159052302dcdb374d
2022-03-08 16:20:10 -08:00
Chauncey Hui ed42eda11d SWDEV-2 - Change OpenCL version number from 3428 to 3429 2022-03-08 03:00:12 -05:00
German Andryeyev 7b114a2b8b SWDEV-307185 - Create heap for device memory allocator
Pass the allocated heap with the kernel arguments

Change-Id: Icdec09b7f937845c39e21cbca7071dc3ba791af9
2022-03-04 00:44:41 -05:00
Chauncey Hui a6bcb4435a SWDEV-2 - Change OpenCL version number from 3427 to 3428 2022-03-02 03:00:06 -05:00
haoyuan2 58e1867079 SWDEV-298331 - Fix FreeLibrary throw exception issue on Windows
release HIP resource at DLL_PROCESS_DETACH point

Change-Id: I884ab028eeec1aaa2f655746f7eeae130fd009e4
2022-03-01 12:06:05 -05:00
Chauncey Hui ba8172b4ad SWDEV-2 - Change OpenCL version number from 3426 to 3427 2022-03-01 03:00:07 -05:00
Saleel Kudchadker e888c9e491 SWDEV-301947 - Rename device Info element
Rename maxBoostComputeUnits to maxPhysicalComputeUnits_.

Change-Id: I5941515ac4f1f4348b3b10478bf4e01444f0a864
2022-02-25 16:48:15 -08:00
Chauncey Hui af1f395718 SWDEV-2 - Change OpenCL version number from 3425 to 3426 2022-02-25 03:02:14 -05:00
German Andryeyev 2664d8cf9e SWDEV-319375 - Avoid global var size query
Currently COMGR doesn't provide global variable size and runtime
parses ELF binary directly. Avoid parsing for HIP. That can save
5% in hipModuleLoad() time.

Change-Id: I47540d1e957bdb0c2406b6b848222de2920b2504
2022-02-23 21:33:05 -05:00
Chauncey Hui f1d55767a8 SWDEV-2 - Change OpenCL version number from 3424 to 3425 2022-02-22 03:00:06 -05:00
Saleel Kudchadker c02d3fd7d8 SWDEV-301667 - Fix maxNode size for get_mempolicy
Change-Id: Ifd84c94394b86580cf39178ad0e7f85580b24edb
2022-02-19 12:48:22 -05:00
Chauncey Hui f95188ba4c SWDEV-2 - Change OpenCL version number from 3423 to 3424 2022-02-19 03:00:07 -05:00
German Andryeyev 95d55fdfa8 SWDEV-323702 - Use active queue for transfer
Pass active queue for transfers in the cache coherency layer.
That will allow to use device transfer queue only for
cases when active queue isn't available, because using device
transfer queue from another active queue may cause a deadlock

Change-Id: Ifbe7e0303b77dbf6eeda3939ffbc25a3df7472de
2022-02-18 09:10:53 -05:00
Chauncey Hui ffbd63e774 SWDEV-2 - Change OpenCL version number from 3422 to 3423 2022-02-18 03:00:06 -05:00
German Andryeyev fbf531398a SWDEV-323364 - Fix a typo
Change-Id: I2031296ab9451342d5930b8b2d3d2e6277946647
2022-02-17 20:50:29 -05:00
Chauncey Hui 0a2baa91b1 SWDEV-2 - Change OpenCL version number from 3421 to 3422 2022-02-17 03:00:05 -05:00
Saleel Kudchadker 041ddc0c1c SWDEV-322605 - Fix infinite loop condition
If GlobalMemCacheLine reported is 0, runtime may run into an
infinite loop as the KernelSegmentAlignment is chosen as size of the
cache line.

Change-Id: Ide547940cc0407f16fab10ee210b4fd3ae4eaafc
2022-02-16 13:16:18 -05:00
German Andryeyev 3fd4a67670 SWDEV-316824 - Fix P2P compute copy path
Use device memory object for the GPU VA address look-up.

Change-Id: I76bf58b29205f7b3ba1bf68e9fcca69421267203
2022-02-15 13:20:13 -05:00
Chauncey Hui 07d3044160 SWDEV-2 - Change OpenCL version number from 3420 to 3421 2022-02-12 03:00:09 -05:00
German Andryeyev 525a1bbf1a SWDEV-286150 - Remove GSL backend
Change-Id: Iba9a997ee7d5ff6ac00d5888ff189a4514958fe9
2022-02-09 17:16:39 -05:00
Chauncey Hui c640b395c7 SWDEV-2 - Change OpenCL version number from 3419 to 3420 2022-02-09 03:00:06 -05:00
German Andryeyev 0bf395af39 SWDEV-286150 - Don't report OCL2.2 support
OCL2.2 requires SPIR-V and runtime doesn't support it.
Make sure PAL backend doesn't report any SPIR-V support.

Change-Id: I8d179069674205b54f7d20d149bcb675bee5cdb0
2022-02-07 17:34:39 -05:00
German Andryeyev be6a06384e SWDEV-307184 - Add support for the new metadata
Metadata in Codeobject version 5 is the extension of CO3 and CO4.
Add the detection of the new fields and program them in
the setup of the kernel arguments.

Change-Id: I27e58df77320ad00f4f16d35912668db803826af
2022-02-07 14:05:58 -05:00
Chauncey Hui d554960ae7 SWDEV-2 - Change OpenCL version number from 3418 to 3419 2022-02-04 03:00:04 -05:00
Satyanvesh Dittakavi 824704c87b SWDEV-317716 - Add uuid in device info structure
Change-Id: Ie7f48d0faf7d722bd9bb8bd0f8962a7832dbe4f6
2022-02-03 12:17:28 -05:00
Todd tiantuo Li fbbae8055f SWDEV-297292 - add gfx90c:xnack+ support as gfx90d
Change-Id: I90e28981a7cbc0f9a0105c16e9dda3ad8ac57f51
2022-02-02 14:24:19 -08:00
Chauncey Hui 00f724e465 SWDEV-2 - Change OpenCL version number from 3417 to 3418 2022-02-01 03:00:44 -05:00
Saleel Kudchadker 33aca5a4a6 SWDEV-301947 - Use new enum for CU count
Use HSA_AMD_AGENT_INFO_COOPERATIVE_COMPUTE_UNIT_COUNT to get compute
units. This is needed to work around assymentric CU harvesting bug on
gfx90a. Add a new device property to get the max available CUs on the
device.

Change-Id: I878f38f14f16c1af01fc0a77157aea1e816a63b8
2022-01-31 12:57:50 -05:00
Chauncey Hui 87dd8dd0d7 SWDEV-2 - Change OpenCL version number from 3416 to 3417 2022-01-28 03:00:07 -05:00
German Andryeyev b169956c78 SWDEV-318505 - Update HSAIL xnack path
Fix a typo with new line

Change-Id: I7fee63409b491a1f214117b68cfffa0492aa0743
2022-01-27 13:07:11 -05:00
Chauncey Hui 87b6c5f14c SWDEV-2 - Change OpenCL version number from 3415 to 3416 2022-01-27 03:00:09 -05:00
Konstantin Zhuravlyov 511065e301 SWDEV-320486 - Correctly set HSAIL_ELFTOOLCHAIN_DIR
Change-Id: Icb39b376eaf3a8132b210bd1bd4eeecaa97bea9d
2022-01-26 18:38:25 -05:00
Payam b473a80f6a SWDEV-245531 - GLInterop adding svm support
Change-Id: Id7f2a7a214f5ad692b4a7acf26cfb1dc423ed54a
2022-01-26 08:17:58 -05:00
Chauncey Hui 7727ea394c SWDEV-2 - Change OpenCL version number from 3414 to 3415 2022-01-26 03:00:06 -05:00
German Andryeyev a543d4a860 SWDEV-318505 - Update HSAIL xnack path
Report proper target id for xnack in HSAIL path. Runtime
will use ISA table and report hsailName().
Fix offline compilation path for PAL.

Change-Id: Ic0250bf6b9c193d867aec9800a319da1bf00c3ee
2022-01-24 09:27:32 -05:00
Chauncey Hui e6225e07d0 SWDEV-2 - Change OpenCL version number from 3413 to 3414 2022-01-19 03:00:08 -05:00
Alex Xie 15101e704b SWDEV-312368 - Segmentation fault in test_gl
When OCL failed to obtain function pointer from GL, we should not call it.

Change-Id: I50f69d270ce445386906a286e44c4e8c83722302
2022-01-14 17:35:31 -05:00
Chauncey Hui d04fdd9356 SWDEV-2 - Change OpenCL version number from 3412 to 3413 2022-01-13 03:00:05 -05:00
Satyanvesh Dittakavi e20dd61932 SWDEV-306939 - Fix vdi errors/warnings by CppCheck
Change-Id: I56d910f8363787f1050d5d7e8064ed553c5827fd
2022-01-12 00:22:16 -05:00
Chauncey Hui 8b5b2a2d79 SWDEV-2 - Change OpenCL version number from 3411 to 3412 2022-01-08 03:00:04 -05:00
German Andryeyev 5f98028a48 SWDEV-316665 - Add ATI_BITS_32 define to cmake build
Some logic in ROCclr relies on ATI_BITS_32 define

Change-Id: I2f0ef535e8d7717f9aa8646bdc80c09880bd2bee
2022-01-06 13:14:19 -05:00
Chauncey Hui f892de68a3 SWDEV-2 - Change OpenCL version number from 3410 to 3411 2022-01-05 03:00:05 -05:00
German Andryeyev e0a4e0df0e SWDEV-317061 - Fix 32-bit HSAIL complib load
Use __stdcall decl to match the library defines

Change-Id: Id4178443d5a9bb4e5401d80b3b5d15c7bbea0330
2022-01-04 16:48:18 -05:00
Chauncey Hui c04d650b67 SWDEV-2 - Change OpenCL version number from 3409 to 3410 2021-12-29 03:00:09 -05:00