نمودار کامیت

13474 کامیت‌ها

مولف SHA1 پیام تاریخ
AravindanC c8500cd72d SWDEV-352878 - LLVM pkg search directly using find_dep() for CLANG Include path
Change-Id: I355e39890757be07de8b9332deca159f35039dfd
2022-10-31 09:42:47 -07:00
Julia Jiang 3415f0a56e SWDEV-342013,SWDEV-342014 - Update validation on hipDeviceGet and hipDeviceGetName
Change-Id: I719da6169ce9f505449e07775cb94a5718f79ca3
2022-10-31 11:44:40 -04:00
German ff6b4db70b SWDEV-363074 - Clean-up sync between SDMA and compute
HIP can't rely on the resource tracking, used in OCL and requires different explicit sync.
Make sure ROCCLR syncs compute only when SDMA is used and vise versa.
The new logic will allow to enable CPDMA without unnecessary waits.

Change-Id: Ib9d1788cfd5afa5ea2fec4c96a37d8b9c4d0059d
2022-10-31 10:02:01 -04:00
Anusha GodavarthySurya 07b3070e25 SWDEV-362611 - Added hmax and hmin
Change-Id: I133a80e997e39357693df7ab969425c0d5585607
2022-10-31 00:23:57 -04:00
Chauncey Hui 3bce4df27d SWDEV-2 - Change OpenCL version number from 3519 to 3520 2022-10-29 03:00:09 -04:00
agunashe 47ae1f1fff SWDEV-337331 - Windows graph fix
Unit_hipGraphNodeGetDependentNodes_Functional
Unit_hipGraphNodeGetDependencies_Functional
Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags
Unit_hipGraphMemcpyNodeSetParams_Functional
Unit_hipGraphExecChildGraphNodeSetParams_ChildTopology

Change-Id: I762776d33f27197bcc012951a1828d3d1d2b3e2e
2022-10-28 14:46:04 -04:00
German dc4ad8c99c SWDEV-363074 - Enable resource cache for SVM
Blender creates and destroys big allocations during the benchmark.
That causes big delays, because vidmm has to page-in/page-out memory.

Change-Id: I2baf4545807127406e3d2870a7581ff9ae7bcdb5
2022-10-27 16:39:29 -04:00
sdashmiz 84fa61a39b SWDEV-363850 - fix a bug in mutual exclusive flags
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: If7687b5bf7ec7ff1978991cbf7dafa0612912274
2022-10-27 11:23:35 -04:00
Pierre van Houtryve dcb5d29f1e Replace LLVM atomic.inc intrinsics with Clang builtins
With opaque pointers, the suffix of those intrinsics changed. This caused
build failures that should be solved by just using the corresponding
Clang builtins instead of using intrinsics directly

See SWDEV-356581

Change-Id: Icd1d9b9438cac4bef0f7c52d4cd341ac76500890
2022-10-27 10:17:21 -04:00
jatang 7cb2b815b3 SWDEV-293816 - Test a CPC counter that's supported by both gfx10 ROCr and PAL backend.
Change-Id: I5d20d07b999c26707611dba5b2c7da9782ad08f3
2022-10-25 18:14:07 -04:00
jatang b7b458730a SWDEV-362451 - Reenable OCLPinnedMemory
Change-Id: I75897846913190422bb8c95d1dce83077d5c77d6
2022-10-25 12:32:13 -04:00
Chauncey Hui cff74ae551 SWDEV-2 - Change OpenCL version number from 3518 to 3519 2022-10-25 03:00:08 -04:00
pghafari 895473e8d8 SWDEV-362280 - retur NotSupoorted for hip-vulkan
hip-vulkan semaphore on rocm is not supported

Change-Id: I6e01c4f5b192cfb17546a29a1cb17f320c4b1adc
2022-10-24 13:36:18 -04:00
German 52ff4368e5 SWDEV-363069 - Disable sync force for MT
hipMemcpyAsync doesn't require any forced sync even for sysmem

Change-Id: I83951f6118e84d79c74d5671df62678c5db085a8
2022-10-24 10:59:07 -04:00
German 413cc757af SWDEV-363602 - Notify cmd queue about callback wait
Remove extra barrier, since ROCR backend in DD mode blocks HW queue now when a callback is injected
Add a notificaiton for MT mode about possible waiter for a callback

Change-Id: Ifd70ce5597e1ba868e4197ad1850ace11a4f90ae
2022-10-24 10:56:20 -04:00
sdashmiz 4fc9df2a1a SWDEV-357917 - correct userobj for negative test cases
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I6a2a74c763d2b938430ca53a14360f459af04665
2022-10-24 10:27:02 -04:00
German e223b0f678 SWDEV-352487 - Don't add notifications as the last command
Change-Id: Ifed34485839ef2c9491e8e8f6bb3569932160b1c
2022-10-24 09:39:03 -04:00
Chauncey Hui a65ed69c1b SWDEV-2 - Change OpenCL version number from 3517 to 3518 2022-10-22 03:00:06 -04:00
Jason Tang a19e8ab0bb Merge "SWDEV-362891 - Add the ocltst install path to RUNPATH." into amd-staging 2022-10-21 18:22:20 -04:00
German 8d2885f331 SWDEV-345024 - Restore break
Commit 60656d9fc9 accidently removed break for mempool property

Change-Id: Ica3cbec796ca6b2366583d3302d3226c73224177
2022-10-21 18:04:20 -04:00
Laurent Morichetti 19107858d6 SWDEV-361847 - Print 'char' parameters as 'integer'
When printing HIP API function parameters, use the integer format to
print 'char' arguments to avoid printing invalid ASCII characters
(value > 127).

Make sure the roctracer::hip_support::detail operator<< overloads are
used when printing arguments.

Change-Id: Id072c2ed19b1b4166108599e393d1cae6c54b6b0
2022-10-21 14:55:33 -04:00
Ajay 261620a2ef SWDEV-357207 - Linux: enable StreamWrite/Wait APIs in deviceAttribute
Change-Id: I593df2dbb7a0233dd42f8d873510d85bbb27feff
2022-10-21 12:44:35 -04:00
Ajay f2fbe4938e SWDEV-332251 - Remove tests packaging from hipamd
Change-Id: I98c0d19ce2eea921d214661b8a1588cb5dbf4268
2022-10-21 11:48:30 -04:00
German c1c5127875 SWDEV-360183 - Finish the trace if queue was destroyed
- Make sure SQQT trace is captured for RGP server if the queue is destroyed before normal capture is done.
- Remove prepare queue from the logic. It's not really used for any HW capture and can cause RGP server abort if destroyed before capture is even started(delayed capture)

Change-Id: I6eb19963190a5769c6477a5496c1b831a6d59b89
2022-10-21 10:44:10 -04:00
Alex (Bin) Xie 06867f0c04 SWDEV-361591 - clean up header files
Change-Id: I25ca37a94524da0521f5b856a9fa9bab73f103c1
2022-10-21 10:23:55 -04:00
Chauncey Hui 904f3e3d75 SWDEV-2 - Change OpenCL version number from 3516 to 3517 2022-10-21 03:00:52 -04:00
Satyanvesh Dittakavi bded3d8d1f SWDEV-362371 - Uninitialized stream error checks
Change-Id: I7e04ef46f0cf2b0c45caf42d5b2ee31cb68e93eb
2022-10-20 21:57:11 -04:00
Tao Sang 3d281114fb SWDEV-360706 - Fix WriteAqlArgAt() crash in X86
In X86 on Windows, sizeof(size_t)=4, but size=8, for
amd::KernelParameterDescriptor::HiddenGlobalOffsetX/Y/Z items.
Loose the condition to prevent crash.

Change-Id: I2216f71f4d4fd6dd3766023b1c821cb3d35d7848
2022-10-20 18:04:49 -04:00
jatang b7d64f9f5f SWDEV-362451 - Disable OCLPinnedMemory for now.
Change-Id: I9a771cfc5751e06c5a494ad2e4036f9aa3efbe9a
2022-10-20 16:03:36 -04:00
Sourabh Betigeri b2665ccc4b SWDEV-361730 - Fix to match the kernel arg allocation sizes between gpu visible mem and host/runtime mem
Change-Id: I6495aa57e97b46373c1d90cc230435780fdcf3ef
2022-10-20 14:20:37 -04:00
Ajay a5b550e828 SWDEV-360944 - palBlit setArgument desc.size_ --> argSize
Fixes AMF tests that were impacted on Windows

Change-Id: I0326e794ec5a34fdec7a5ff4ed79d5bd055997d2
2022-10-20 12:44:15 -04:00
Laurent Morichetti 9a82118c85 SWDEV-362046 - Report HIP_OPS activities using the ROCr driver_node_id instead of the device's index
The ROCclr assigns zero-based IDs to GPUs in the order they are
discovered. That zero-based ID is what is used to identify the GPU
on which the HIP_OPS activity took place.

When multiple ranks are used, each rank's first logical device always
has GPU ID 0, regardless of which physical device is selected with
CUDA_VISIBLE_DEVICES. Because of this, when merging trace files from
multiple ranks, GPU IDs from different processes may overlap.

The long term solution is to use the KFD's gpu_id which is stable
across APIs and processes. Unfortunately the gpu_id is not yet exposed
by the ROCr, so for now use the driver's node id.

Change-Id: Ib78854527d600d175bb76e2df0747c33f898c615
2022-10-20 12:31:30 -04:00
Julia Jiang dacd55f3d7 SWDEV-357122 - fix failure in vdi so as to handle unreasonable input size in MallocManagedNegativeTest
Change-Id: I1ed1916b652afc67327b0935c3c60fc2a404df30
2022-10-20 12:19:22 -04:00
Chauncey Hui 05b2bd7995 SWDEV-2 - Change OpenCL version number from 3515 to 3516 2022-10-20 03:00:06 -04:00
jatang cbbf0d1edd SWDEV-362891 - Add the ocltst install path to RUNPATH.
So ocltst can automatically find liboclruntime.so from the same directory as ocltst.

Change-Id: Id2f4f58b1c7f0304be76a3aeecd5eea2eec328de
2022-10-19 18:17:17 -04:00
Ashutosh Mishra 1754b043a3 SWDEV-362882 - Unable to run clinfo/opencl tests
The explicit RUNPATH addtion has been
revoked after the file reorg. Hence
the rpath for discovery of the libs
has to be taken care by individual binaries
Current patch adds the run path for
descovery of the libOpenCL.so

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>
Change-Id: Ia3bf9202bea78ecfdb881e40b0eb7a0d4a303ed3
2022-10-19 15:03:07 -04:00
Ranjith Ramakrishnan f3394cf7a5 SWDEV-345870 - Correct HIP path for new directory layout
With file reorganization changes HIP is installed in /opt/rocm-ver
Using HIP path as /opt/rocm-ver/hip will generate warnings
Use real path with symlinks resolved, so that HIP path always points to the installed path
Removed redundant code for finding hsa header files. find_dependency to hsa-runtime should handle hsa dependency

Change-Id: Iccea3c1c7297c705244bf752f38fbff71929d64c
2022-10-19 12:58:02 -04:00
Christophe Paquot 470c4d7335 SWDEV-322620 - Virtual Memory Management
Hooked up the start VA hint address to PAL.

Change-Id: I4301d3eaaabcc85faf63fb25291291dcc3e8ebd1
2022-10-19 10:50:07 -04:00
pghafari d7b27989b4 SWDEV-356557, SWDEV-356558 - matching cuda return
Change-Id: I3b7d50e07bd437bd23a495439d66940ff30f7f07
2022-10-19 09:17:28 -04:00
Chauncey Hui 5cad630425 SWDEV-2 - Change OpenCL version number from 3514 to 3515 2022-10-19 03:00:13 -04:00
jatang cf9f9e84b8 SWDEV-362891 - Incorperate TestLog into ocltst.
So it's no longer needed to setup path to find TestLog

Change-Id: I0c7ae21e426f2d6d832f707b9d37661bbed67100
2022-10-18 18:01:53 -04:00
Satyanvesh Dittakavi 1c68c74bb7 SWDEV-349226 - Add the hipDataTypes mapping to cudaDataTypes
Change-Id: Iadeb2675adf314c02dcc5d722581678ec36f8632
2022-10-14 06:44:30 -04:00
kjayapra-amd 951a5b9e7d SWDEV-307411 - Require comment/message string in guarantee().
Change-Id: I55a699c5366f6a7d167ede4c9be2ec5b15cea9d0
2022-10-13 16:21:21 -04:00
kjayapra-amd 1b902e1809 SWDEV-355727 - Change in AMDGCN format in bitcode.
Change-Id: Ic32a3e7b866b35a321d8ececc2f6c63f9b23121d
2022-10-13 14:19:03 -04:00
Saleel Kudchadker da88091ba4 SWDEV-359548 - Enqueue marker if fence is dirty
The marker would flush any caches.

Change-Id: I5f990285fb3c3a3e8d5d0b2a2d5a9f1fdcea435c
2022-10-13 07:53:01 -04:00
Chauncey Hui 4e0e0666d6 SWDEV-2 - Change OpenCL version number from 3513 to 3514 2022-10-13 03:00:09 -04:00
Anusha GodavarthySurya 039e26ee0f SWDEV-357759, SWDEV-360041, SWDEV-361145 Fix Stream end capture on forked streams
Change-Id: If0dc6242d2d3ca680e37e14a5dea5cf68dc295df
2022-10-12 13:00:05 -04:00
Tao Sang 56e7c8b3a0 SWDEV-318349 - Remove sync for null stream
Remove sync for null stream in  hipGraphExec::Run()

Change-Id: Ieaaed1c15b4d258193d8341d4b17d9f03a9e4783
2022-10-12 09:46:18 -04:00
pghafari 88c399a43d SWDEV-356570, SWDEV-356571, SWDEV-356572, SWDEV-356575 -
updating with current status of hipNotSupported and null checks

Change-Id: I3b1ce3d3e5ce9b69d1f5dacda35f5aa586714f5c
2022-10-11 23:45:27 -04:00
Ajay be80bf5406 SWDEV-353548 - assert with different behavior for Release vs Debug
assert statement behavior
-Debug: crashes tests with SIGABORT
-Release: continues silently without

Change-Id: I7578eb16a7391ff7f9d68f1cae3bcea7f8225579
2022-10-11 14:00:28 -04:00