Gráfico de commits

11517 Commits

Autor SHA1 Mensaje Fecha
pghafari 5959057299 SWDEV-374361, SWDEV-374362, SWDEV-374364, SWDEV-374365 - error checking
Change-Id: I0b729976ed794239fa54e1ad2965133b319d2f5d


[ROCm/clr commit: a9cbff0a49]
2023-01-17 23:10:22 -05:00
Tao Sang 339bb6a7de 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


[ROCm/clr commit: cb30ce4e06]
2023-01-17 14:50:35 -05:00
sdashmiz 11f97823cd SWDEV-374374 - memset memory mapping should not change
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I4cc3b1ac5a59fe5c9ae060f4d5d189dc63ca450c


[ROCm/clr commit: 52bf09aac6]
2023-01-17 14:41:24 -05:00
Jiabao Xie b6d1602da0 SWDEV-366886 - force alloc from svm
Change-Id: I6a89aa46d944832e59491bb96ba3669e5031b636


[ROCm/clr commit: 6c44353107]
2023-01-17 12:12:27 -05:00
Anusha GodavarthySurya 5b79a926e3 SWDEV-373173 - Add kernel metadata for WGP mode
Change-Id: Ic270e90c46938b975513ff2bc19b7bb6b9485f9d


[ROCm/clr commit: 0bd0c29b7d]
2023-01-17 10:51:22 -05:00
German Andryeyev 36d240ff89 SWDEV-355281 - Use offset from FindMemObj
Change-Id: I53ce2c1ef2e3a580b8b12312b693c2476f0885d2


[ROCm/clr commit: 39db0ec297]
2023-01-17 10:01:49 -05:00
pghafari 829bbe4933 SWDEV-369570 - MaxSharedMemoryPerBloc check
Change-Id: I74d216a5d9316758bb611eb241ba85222194ce8b


[ROCm/clr commit: 2e60edbe0e]
2023-01-17 07:52:15 -05:00
pghafari 7261e8fa39 SWDEV-374380 - hipGraphAddMemcpyNode1D errorCheck
Change-Id: I50501de139e3898783c1cc9c91c5ed3ed2564f3b


[ROCm/clr commit: 236a725d67]
2023-01-17 07:49:23 -05:00
Chauncey Hui 257336ce69 SWDEV-2 - Change OpenCL version number from 3555 to 3556
[ROCm/clr commit: 4595d88b04]
2023-01-17 03:00:06 -05:00
Victor Zhang c200479039 SWDEV-110636 - added if statement so that output of clBuildProgram follows opencl specification
Change-Id: I4ee000008c52a0bbdb47e94a8e1b5faf28c3bfe6


[ROCm/clr commit: 1fe9918576]
2023-01-17 00:52:04 -05:00
Satyanvesh Dittakavi f94a34e128 SWDEV-373231 - Support hip atomics header with HIPRTC
Change-Id: Ic500dfb66ed5ef0c4b672dfd0595409d0e8caaf5


[ROCm/clr commit: 842b9d0b56]
2023-01-17 00:31:07 -05:00
German Andryeyev 8ad3120e25 SWDEV-355281 - Add offset calculation
Calculate memory location offset for requested memory

Change-Id: I7919523df1790d9eaad5827ee5bd98e4263a7554


[ROCm/clr commit: 5d83345c20]
2023-01-16 14:19:40 -05:00
sdashmiz 42a08627ef 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


[ROCm/clr commit: be966acb0c]
2023-01-16 13:09:24 -05:00
sdashmiz 4f74c83b94 SWDEV-374390 - add correct error
- null stream should return error on host function

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I17659ad7af0814091dbf6cb4a2cb2644514551f0


[ROCm/clr commit: 338307ef2c]
2023-01-16 13:08:23 -05:00
Jaydeep Patel d74f646173 SWDEV-374360 - Handle free for external memory.
Change-Id: Ibfaf30eef371499a3c1f931a73cce76c83d8f7f3


[ROCm/clr commit: 7eecbdd9db]
2023-01-16 13:07:01 -05:00
Jaydeep Patel 19c80916fa SWDEV-374360 - Handle free for external memory.
Change-Id: I4a1ede2210a255960d7a935cd4debb806e0147f6


[ROCm/clr commit: d97b4e8c74]
2023-01-16 13:06:36 -05:00
Jaydeep Patel ffcff763d2 SWDEV-375366 - SWDEV-375351 - Handle HtoH case for graph mem cpy impl.
Change-Id: I5a8c3c3c22db045f714b0443b8d70a8c6b4a8cea


[ROCm/clr commit: fdecc1b351]
2023-01-16 11:37:57 -05:00
Saleel Kudchadker 772def2cd1 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


[ROCm/clr commit: 033d4c0463]
2023-01-16 11:04:30 -05:00
Juan Manuel MARTINEZ CAAMAÑO 16a5bfd654 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


[ROCm/clr commit: 8ab3fd58cf]
2023-01-16 03:34:21 -05:00
Chauncey Hui 9e755a3aea SWDEV-2 - Change OpenCL version number from 3554 to 3555
[ROCm/clr commit: 097e8f270a]
2023-01-16 03:00:05 -05:00
Jaydeep Patel c9fa0aad8b SWDEV-369961 - Add mappings for enum hipGraphInstantiateFlags and types.
Change-Id: I03fa8221684b08a0c44e12aaf2eb7ce5281be629


[ROCm/clr commit: 8bd45ae5da]
2023-01-15 12:17:21 +00:00
Ioannis Assiouras 1974ef22cf SWDEV-374403 - Added input sanity checks for hipLaunchCooperativeKernelMultiDevice and hipExtLaunchMultiKernelMultiDevice
Change-Id: Iebef5ae68439d87549fdf9559de51c6c79c64392


[ROCm/clr commit: 0d2e0d1621]
2023-01-13 19:48:42 -05:00
Matt Arsenault 967ad97993 SWDEV-1 - Use proper builtin for groupstaticsize
Remove the now empty header for asm intrinsic wrappers.

Change-Id: I63495dc6ed899b1ea823062f2be2fb064af8d4f9


[ROCm/clr commit: 8615a89f24]
2023-01-13 13:14:10 -05:00
German Andryeyev 9c811dc241 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


[ROCm/clr commit: eef47ca24a]
2023-01-13 13:06:59 -05:00
Satyanvesh Dittakavi 1087f13ee1 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


[ROCm/clr commit: 873bc03034]
2023-01-13 12:53:31 -05:00
Rakesh Roy 9045dbab4b SWDEV-374369 - Fix hipGraphAdd*Node* APIs invalid behavior
- Return hipErrorInvalidValue if dependencies array contains a node from
  different graph

Change-Id: I0dcfaaaeb50a89848ac546a0b86b185977e2128c


[ROCm/clr commit: a427d3cd10]
2023-01-13 12:09:42 -05:00
AravindanC 61f59d2285 SWDEV-352878 - Remove CLANG include dependencies
Change-Id: I46bba0fdf21a3541e08ff0c465ff076d478094f9


[ROCm/clr commit: 2228383fcb]
2023-01-13 07:41:10 -08:00
Ajay 3d12929eb8 SWDEV-372757 - thread check workaround for windows hang
Change-Id: Ie9f87b88dd0f3078ad1919edc336f297f6b40373


[ROCm/clr commit: ecea27eb2d]
2023-01-13 04:05:35 -05:00
Chauncey Hui 5fd3eb836c SWDEV-2 - Change OpenCL version number from 3553 to 3554
[ROCm/clr commit: 8a973ee882]
2023-01-13 03:00:09 -05:00
Satyanvesh Dittakavi 6035b0e214 SWDEV-376386 - Support __hip_move_dpp with hipRTC
Change-Id: If9a6fe23d6df143a7f522823fca7183416048c6a


[ROCm/clr commit: c193503722]
2023-01-13 00:05:31 -05:00
Anusha GodavarthySurya 57d351bed6 SWDEV-364576 - use hipLimitMallocHeapSize to set initial heap buffer size
Change-Id: I2f1d3b229bc28571ce6c55f93f8ef73dda516b50


[ROCm/clr commit: 33eef6d95e]
2023-01-12 23:34:29 -05:00
Anusha GodavarthySurya e8c8fd8c3f SWDEV-374778 - Select SDMA path when HSA_XNACK is enabled
Change-Id: I052675186238eb24b910a0a558d6b8ede36d1413


[ROCm/clr commit: 710749c291]
2023-01-12 23:34:21 -05:00
Matt Arsenault 1de57c06b3 SWDEV-1 - Directly call __builtin_amdgcn_fence
The device libraries provide hip.bc, which only contains
__atomic_work_item_fence. This is identical to OpenCL's
atomic_work_item_fence, except prefixed with __. This only existed to
switch over the unknown values the OpenCL function provides. There's
no need to go through the wrapper here since it's using constant
values, and without it we can drop one of the bitcode libraries. I'm
guessing this was a holdover from before the fence builtin existed.

Change-Id: I8b04614f96194eafddeba295215c12c3856e6c42


[ROCm/clr commit: 3e54bad5b3]
2023-01-12 12:04:09 -05:00
Matt Arsenault ac1201f598 SWDEV-1 - Remove unused intrinsic declaration
The uses have moved to using the proper __builtin_amdgcn_ds_swizzle.

Change-Id: I82159ebf41fb91ac6a9d07b33311e569dce5e754


[ROCm/clr commit: 91b851fad7]
2023-01-12 12:04:09 -05:00
Ioannis Assiouras ab81da6544 SWDEV-374401 - Surface the ammount of used constant memory by kernel
Change-Id: I6de0e46482f27b9068582fdaee0e562f9f71f9f0


[ROCm/clr commit: 4d49204fb9]
2023-01-12 05:22:37 -05:00
Ioannis Assiouras bfa0b9f844 SWDEV-374405 - Added OpenGL interoperability APIs for nvidia
Change-Id: I1d6ad5c610ab6ee805bd07dacea316b3242ed129


[ROCm/clr commit: e97dcfbe48]
2023-01-12 05:22:14 -05:00
Saleel Kudchadker f903a6c2c9 SWDEV-371123 - Fix barrier value packet header
- Use correct header for vendor packet
- Pass one dependent signal when submitting a marker if there is one

Change-Id: I4efc70dd5204b559de26f899d0637f50421c8834


[ROCm/clr commit: 77ceb7e9ad]
2023-01-12 04:06:03 -05:00
Chauncey Hui 8a163fef1b SWDEV-2 - Change OpenCL version number from 3552 to 3553
[ROCm/clr commit: 6b4577c8d7]
2023-01-12 03:00:09 -05:00
jatang 1f5f1c8708 SWDEV-287018 - Only generate _optimized.bc when both requiredDump and DUMP_BC_LINKED are true
The current code generates a _optimized.bc regardlessly, so put back the original logic.

Change-Id: I3f84d10934b3e983f5f828af8d0943449a6e1d94


[ROCm/clr commit: 6647882773]
2023-01-11 17:51:35 -05:00
Jaydeep Patel d12bfbbb4d SWDEV-374383 - Check from and to if no of dependencies are more than 0, Check from and to node are belongs to graph pass in.
Change-Id: I0cdafb497147f9ac7f84d40203a21e9eefd595a3


[ROCm/clr commit: bb486b04c6]
2023-01-11 11:43:22 -05:00
Rakesh Roy 87db95fad7 SWDEV-368881 - Implement hipModuleLaunchCooperative* APIs
- Add implementation for hipModuleLaunchCooperativeKernel, hipModuleLaunchCooperativeKernelMultiDevice APIs

Change-Id: I2a80264e458549211c34b413397a08b57d021147


[ROCm/clr commit: b321e2afc6]
2023-01-10 13:50:20 -05:00
Ajay 433f99686b SWDEV-369556 - Unit_hipMemGetAddressRange_Negative cases
- return value for invalid device ptr
- offset greater than size

Change-Id: I8bcf878c3c1c0a29836ea664bfb9048e1114b74e


[ROCm/clr commit: c6a7ce66bb]
2023-01-10 06:57:54 -05:00
Chauncey Hui 94a74a794b SWDEV-2 - Change OpenCL version number from 3551 to 3552
[ROCm/clr commit: ed10cb76c1]
2023-01-10 03:00:08 -05:00
Maneesh Gupta 4f5f6a3696 SWDEV-345571 - Revert changes for warp shuffle functions
This reverts commit 609598cd15 and 149afa9444.

Change-Id: I548f15055417453a7fd323a481ed410598830521


[ROCm/clr commit: 6c53a670c1]
2023-01-09 22:56:52 -05:00
Jiabao Xie 3ab54974dc SWDEV-374375 - moving nullptr check into hipGraphNode::isValidNode
Change-Id: Ic9264521d6f0b36ffc948ca9feeaa70eb6e98eb6


[ROCm/clr commit: 03200953e5]
2023-01-09 16:27:38 -05:00
Jacob Lambert 507c87da5f SWDEV-356171 - Adding support for name lowering for bitcodes (-fgpu-rdc) via
Comgr mangled name fetching APIs

Change-Id: I10ce2b1288c459e3e61218d68a270aba2148376e


[ROCm/clr commit: 7dd54c746e]
2023-01-09 14:49:51 -05:00
kjayapra-amd 5057429e7a SWDEV-361374 - Adding support for hipPointerSetAttributes
Change-Id: I56710b808854acefca07b3b5898deebee38063e9


[ROCm/clr commit: 0c8c08cf51]
2023-01-09 12:36:57 -05:00
Juan Manuel MARTINEZ CAAMAÑO 8de9ca0382 SWDEV-290637 - Specify a working directory when calling hip_embed_pch.sh
Consider the case where cmake is invoked as follows:

    cd <parent_dir>
    cmake -S<source_dir> -B<build_dir> ...

  If `WORKING_DIRECTORY` parameter is not specified in `execute_command`,
  `hip_pch.o` is created outside `<build_dir>`, in `<parent_dir>/hip_pch.o`.

Change-Id: I751f4390628315ad70c36148e09824c19c93ae9e


[ROCm/clr commit: c391af49dc]
2023-01-09 03:17:07 -05:00
German 3afbe3a155 SWDEV-372757 - Don't destroy null queue in MT
Skip destruction of the null queue for MT. Windows can destroy worker
thread on exit during the stream destruction, causing a race condition.

Change-Id: I3e4bc3ab2b477d38c0aec1fc59e6f1af0f8f6b0f


[ROCm/clr commit: f39655c0c8]
2023-01-09 00:03:09 -05:00
Anusha GodavarthySurya 379781ea65 SWDEV-364576 - initialize device malloc heap state using blit kernel
Change-Id: I5d0172aff7d2c04b322a4d828b8a2b438158b80f


[ROCm/clr commit: 274f2de391]
2023-01-07 06:53:53 +00:00