Jacob Lambert
0969056f66
SWDEV-376413 - Replace deprecated Comgr device-lib action
...
The Comgr ADD_DEVICE_LIBRARIES action has been deprecated. In place
of the previous two-action approach:
AMD_COMGR_COMPILE_SOURCE_TO_BC
AMD_COMGR_ADD_DEVICE_LIBRARIES
We can now use a single combined action:
AMD_COMGR_COMPILE_SOURCE_WITH_DEVICE_LIBS_TO_BC
This new action more closely alings with how device library
management is done by the clang driver.
Change-Id: Id844e9031a1896dedeacec453440b9babc4b111a
2023-01-20 15:52:00 -05:00
German
53a10c9039
SWDEV-377991 - Remove liquidflash support
...
Change-Id: Iba6455e5c0210c3223a06fec332404cd9f489154
2023-01-20 09:57:06 -05:00
Chauncey Hui
46518cba6a
SWDEV-2 - Change OpenCL version number from 3558 to 3559
2023-01-20 03:00:09 -05:00
Anusha GodavarthySurya
89e9f9db58
SWDEV-371123 - Fix seg fault when running hashcat app
...
Change-Id: I0c66d881b8dfae322f58a644860ecce4fb18debd
2023-01-19 15:50:03 -05:00
Maneesh Gupta
5b39c346ad
SWDEV-378321 - Revert "SWDEV-1 - Directly call __builtin_amdgcn_fence"
...
This reverts commit 3e54bad5b3 .
Reason for revert: Root cause for regression SWDEV-378321
Change-Id: If3116c5ad1a23db1840e5fc019d2fe997b37d229
2023-01-19 13:01:27 -05:00
German
3690ae8464
SWDEV-377991 - Remove liquidflash support
...
Change-Id: I8ea0feb6067387f1b545a7492b6bcb55e82ec8b0
2023-01-19 11:39:10 -05:00
Xie,AlexBin
0703b8380b
SWDEV-365305 - Same time is observed for CU Med-Priority tests
...
OCL runtime uses WGP mode and total CU count reported in WGP.
Realtime values are still in CUs. That can mislead in the test results.
Report realtime in WGP values and convert to CUs for KMD.
Change-Id: I90b82615640734dd655be2b613ccac3cb8483239
2023-01-19 11:36:34 -05:00
German
b9901144eb
SWDEV-377991 - Remove liquidflash support
...
Change-Id: I928ed40f11461d5da07190e67bbec6a5363c42a6
2023-01-19 11:15:46 -05:00
German
5a42279a65
SWDEV-377991 - Rmove Liquidflash logic
...
Untie extra dependency on opencl repo
Change-Id: I8069cd8337214043d3c1453e3dfb0a0a47a83251
2023-01-19 09:58:31 -05:00
German
b685930bee
SWDEV-377991 - Rmove Liquidflash logic
...
Change-Id: I1c2169c1a8c7449c59cc15074af039c48fc1ef31
2023-01-19 09:58:07 -05:00
Chauncey Hui
a1d54befdf
SWDEV-2 - Change OpenCL version number from 3557 to 3558
2023-01-19 03:00:08 -05:00
pghafari
76b0b4d635
SWDEV-369551 - invalid stream check in hipMemcpy
...
Change-Id: I6762af93cd566a38f7d04994b87a76e744b19043
2023-01-18 20:02:28 -05:00
pghafari
d491ee7385
SWDEV-374381 - updated error check
...
for hipGraphAddMemcpyNodeFrom/ToSymbol
Change-Id: I4de063a5a9307148bf4da0e8a2edc1d3b01a8b9a
2023-01-18 19:59:32 -05:00
jiabaxie
8278e86918
SWDEV-366886 - force svm alloc for rocm
...
Change-Id: If85a6aaeb5861ff1550a0bc3f0a25073ff8145e7
2023-01-18 16:26:34 -05:00
German
c8927cd84e
SWDEV-377991 - Remove Liquidflash extension
...
Initial check-in to untie dependencies with HIP and OCL repos
Change-Id: I363b63954c3f118f40a6ed893545d6a4ac44144c
2023-01-18 13:16:20 -05:00
Alex Xie
60d413a5b9
SWDEV-374668 - Observed one subtest failure in ocltst32
...
Don't force sysmem allocation
Change-Id: I792f0da231c6e8058f1bfb81ba1f88ecb59b7c8e
2023-01-18 12:02:27 -05:00
Anusha GodavarthySurya
d422ad0ec1
SWDEV-376407 - Track manual nodes added during capture
...
Change-Id: Ic44f842c303eed0eff08b6ee5922976d96a52c71
2023-01-18 03:27:41 -05:00
Anusha GodavarthySurya
ce8f441c14
SWDEV-373173 - Handle kernel compilation WGP/cumode in occupancy calculation
...
Change-Id: Id0225683a578c3275a35f8f807a57b6379746392
2023-01-18 03:27:30 -05:00
Anusha GodavarthySurya
27c5189bca
SWDEV-373173 - Correct max VGPRs and VGPR Granularity in Occupancy calculation
...
Change-Id: I36010f3991f809c61f0c4388b8daa8d3e9b8cc9d
2023-01-18 03:27:21 -05:00
Chauncey Hui
241bfcc033
SWDEV-2 - Change OpenCL version number from 3556 to 3557
2023-01-18 03:00:09 -05:00
Maneesh Gupta
e0516a6984
SWDEV-1 - Use VERSION file instead of hipvars.pm for versioning
...
Change-Id: I9974aec388c9a89f4ed79a974dea99ec1e8257b8
2023-01-18 02:39:12 -05:00
Anusha GodavarthySurya
2b50636809
SWDEV-373173 - Correct max VGPRs and VGPR Granularity in Occupancy calculation for different asics
...
Change-Id: I6f595428ed31733cdc04e65e7c3e383f454ab72b
2023-01-18 00:22:02 -05:00
pghafari
a9cbff0a49
SWDEV-374361, SWDEV-374362, SWDEV-374364, SWDEV-374365 - error checking
...
Change-Id: I0b729976ed794239fa54e1ad2965133b319d2f5d
2023-01-17 23:10:22 -05:00
Tao Sang
cb30ce4e06
SWDEV-377423 - Fix kernel attribute missing
...
Fix missing issue of kernel attributes including vec_type_hint,
work_group_size_hint and reqd_work_group_size.
Make WorkGroupInfo's meta attributes initialized before other parameters
are initialized.
This way workGroupInfo_'s compileSizeHint_, compileSize_ and
compileVecTypeHint_ will be valid when they are used to create kernel
signature in Kernel::createSignature().
Fix a typo of ".workgorup_size_hint".
Change-Id: I4a1ede2210a25596ad7a935cd4debb896e0147f8
2023-01-17 14:50:35 -05:00
sdashmiz
52bf09aac6
SWDEV-374374 - memset memory mapping should not change
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I4cc3b1ac5a59fe5c9ae060f4d5d189dc63ca450c
2023-01-17 14:41:24 -05:00
Jiabao Xie
6c44353107
SWDEV-366886 - force alloc from svm
...
Change-Id: I6a89aa46d944832e59491bb96ba3669e5031b636
2023-01-17 12:12:27 -05:00
Anusha GodavarthySurya
0bd0c29b7d
SWDEV-373173 - Add kernel metadata for WGP mode
...
Change-Id: Ic270e90c46938b975513ff2bc19b7bb6b9485f9d
2023-01-17 10:51:22 -05:00
German Andryeyev
39db0ec297
SWDEV-355281 - Use offset from FindMemObj
...
Change-Id: I53ce2c1ef2e3a580b8b12312b693c2476f0885d2
2023-01-17 10:01:49 -05:00
pghafari
2e60edbe0e
SWDEV-369570 - MaxSharedMemoryPerBloc check
...
Change-Id: I74d216a5d9316758bb611eb241ba85222194ce8b
2023-01-17 07:52:15 -05:00
pghafari
236a725d67
SWDEV-374380 - hipGraphAddMemcpyNode1D errorCheck
...
Change-Id: I50501de139e3898783c1cc9c91c5ed3ed2564f3b
2023-01-17 07:49:23 -05:00
Chauncey Hui
4595d88b04
SWDEV-2 - Change OpenCL version number from 3555 to 3556
2023-01-17 03:00:06 -05:00
Victor Zhang
1fe9918576
SWDEV-110636 - added if statement so that output of clBuildProgram follows opencl specification
...
Change-Id: I4ee000008c52a0bbdb47e94a8e1b5faf28c3bfe6
2023-01-17 00:52:04 -05:00
Satyanvesh Dittakavi
842b9d0b56
SWDEV-373231 - Support hip atomics header with HIPRTC
...
Change-Id: Ic500dfb66ed5ef0c4b672dfd0595409d0e8caaf5
2023-01-17 00:31:07 -05:00
German Andryeyev
5d83345c20
SWDEV-355281 - Add offset calculation
...
Calculate memory location offset for requested memory
Change-Id: I7919523df1790d9eaad5827ee5bd98e4263a7554
2023-01-16 14:19:40 -05:00
sdashmiz
be966acb0c
SWDEV-360031 - check for stream capture finish.
...
- stream capture should be done before any sync APIs.
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I3d65f67ee68777be71f97f48d460ccaefdd4e1af
2023-01-16 13:09:24 -05:00
sdashmiz
338307ef2c
SWDEV-374390 - add correct error
...
- null stream should return error on host function
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I17659ad7af0814091dbf6cb4a2cb2644514551f0
2023-01-16 13:08:23 -05:00
Jaydeep Patel
7eecbdd9db
SWDEV-374360 - Handle free for external memory.
...
Change-Id: Ibfaf30eef371499a3c1f931a73cce76c83d8f7f3
2023-01-16 13:07:01 -05:00
Jaydeep Patel
d97b4e8c74
SWDEV-374360 - Handle free for external memory.
...
Change-Id: I4a1ede2210a255960d7a935cd4debb806e0147f6
2023-01-16 13:06:36 -05:00
Jaydeep Patel
fdecc1b351
SWDEV-375366 - SWDEV-375351 - Handle HtoH case for graph mem cpy impl.
...
Change-Id: I5a8c3c3c22db045f714b0443b8d70a8c6b4a8cea
2023-01-16 11:37:57 -05:00
Saleel Kudchadker
033d4c0463
SWDEV-345213 - Fix staged line-by-line copy path
...
- Address an old bug in offset calculation that was causing out of bound
access.
- Improve logging
Change-Id: Iebdf34dddaa5e987cc72184a2152918adc6a96e0
2023-01-16 11:04:30 -05:00
Juan Manuel MARTINEZ CAAMAÑO
8ab3fd58cf
SWDEV-287018 - Remove requiredDump argument from Program::linkLLVMBitcode
...
Weirdly, the `requiredDump` argument to linkLLVMBitcode was used to enable/disable
the keeping temporary bytecode files (those generated by -save-temps=all) after linking.
This patch removes this argument as there is no obvious benefit from keepeing it
(the user would only rely on -save-temps=all to control this).
Change-Id: I0c00486f95eb1d4e296b5247c488407c47f0b2d9
2023-01-16 03:34:21 -05:00
Chauncey Hui
097e8f270a
SWDEV-2 - Change OpenCL version number from 3554 to 3555
2023-01-16 03:00:05 -05:00
Jaydeep Patel
8bd45ae5da
SWDEV-369961 - Add mappings for enum hipGraphInstantiateFlags and types.
...
Change-Id: I03fa8221684b08a0c44e12aaf2eb7ce5281be629
2023-01-15 12:17:21 +00:00
Ioannis Assiouras
0d2e0d1621
SWDEV-374403 - Added input sanity checks for hipLaunchCooperativeKernelMultiDevice and hipExtLaunchMultiKernelMultiDevice
...
Change-Id: Iebef5ae68439d87549fdf9559de51c6c79c64392
2023-01-13 19:48:42 -05:00
Matt Arsenault
8615a89f24
SWDEV-1 - Use proper builtin for groupstaticsize
...
Remove the now empty header for asm intrinsic wrappers.
Change-Id: I63495dc6ed899b1ea823062f2be2fb064af8d4f9
2023-01-13 13:14:10 -05:00
German Andryeyev
eef47ca24a
SWDEV-353281 - Initial support of memalloc in graph
...
Add memory allocation support in graph. Current implementation uses
cache from mempool to hold the allocations which belong to the graph.
Also the resource tracking is disabled at this moment because mempool
operates with hip::Stream objects, but graph has execution with
amd::HostQueue objects.
Change-Id: I54fe3250126d24f5a26ada975f37d429bb4ef17b
2023-01-13 13:06:59 -05:00
Satyanvesh Dittakavi
873bc03034
SWDEV-369552 - SWDEV-369553 - SWDEV-369555 - Fix hipMemAdvise
...
- API should return error if the size passed is more than the
bytes allocated
- Passing invalid device should return error except for the
advise hipMemAdviseSetReadMostly
Change-Id: I1c4c15136b825215bf1e1f5ee7a9a08e5895d870
2023-01-13 12:53:31 -05:00
Rakesh Roy
a427d3cd10
SWDEV-374369 - Fix hipGraphAdd*Node* APIs invalid behavior
...
- Return hipErrorInvalidValue if dependencies array contains a node from
different graph
Change-Id: I0dcfaaaeb50a89848ac546a0b86b185977e2128c
2023-01-13 12:09:42 -05:00
AravindanC
2228383fcb
SWDEV-352878 - Remove CLANG include dependencies
...
Change-Id: I46bba0fdf21a3541e08ff0c465ff076d478094f9
2023-01-13 07:41:10 -08:00
Ajay
ecea27eb2d
SWDEV-372757 - thread check workaround for windows hang
...
Change-Id: Ie9f87b88dd0f3078ad1919edc336f297f6b40373
2023-01-13 04:05:35 -05:00