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
Jaydeep Patel
149afa9444
SWDEV-375137 - Bypass defination of half and half2 alias for internal include of hip_fp16.h
...
Change-Id: I5258a487d4c2d93e889a523fde81f1b3906d9318
[ROCm/clr commit: 695533d435 ]
2023-01-06 21:34:51 -05:00
Jiabao Xie
078f931d73
SWDEV-374375 - Added checks to see if hip graph nodes are valid
...
Change-Id: I9e6eabf0e4a9100de6f9d26bf5b815957f12d4f2
[ROCm/clr commit: e5490697cc ]
2023-01-06 16:58:56 -05:00
pghafari
24be73637f
SWDEV-375135 - adding error string
...
Change-Id: I73276462627a47d405c8439d8a843ac266fc5d38
[ROCm/clr commit: 7615fba2d5 ]
2023-01-06 16:31:35 -05:00
pghafari
bb765cafaf
SWDEV-369042 - updating to GetError to match cuda
...
Change-Id: I0ec2330443b26cb1c8cedba942f31fb1267cd09d
[ROCm/clr commit: 335a24d1a0 ]
2023-01-06 05:33:41 -05:00
Juan Manuel MARTINEZ CAAMAÑO
f91da83d6a
SWDEV-290384 - Missing hiprtcResult case in hiprtcGetErrorString
...
Change-Id: I11d18ff19f6f6f1b36febf87a586bc9ffb95af10
[ROCm/clr commit: 537df06c4f ]
2023-01-06 03:38:44 -05:00
Chauncey Hui
9e9e09366b
SWDEV-2 - Change OpenCL version number from 3550 to 3551
...
[ROCm/clr commit: 69ffa7bcb8 ]
2023-01-06 03:00:08 -05:00
Satyanvesh Dittakavi
54c5fa36d8
SWDEV-375020 - Revert "SWDEV-370552 - Improve hiprtc performance by passing the right flags to comgr"
...
This reverts commit 96d28fd15d .
Reason: Adding "-Xclang" and "-disable-llvm-passes" in hiprtc
compilation seem to cause perf issues and memory fault in few apps.
Change-Id: I12ff46293c7b7afb24d570351736d884d2881b77
[ROCm/clr commit: 516acd4e60 ]
2023-01-06 00:09:06 -05:00
Ajay
01f4d7eac3
SWDEV-369618 - hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags invalid flag scenario
...
Change-Id: I07df2640be71a6b0aed160d54e80ffdeb85ec554
[ROCm/clr commit: 3e4ed8d917 ]
2023-01-05 23:40:29 -05:00
Saleel Kudchadker
4a92208bb7
SWDEV-371123 - Fix typo for log print
...
Change-Id: I18297a032d6fc9a030863eac7c525e86e9fdcd29
[ROCm/clr commit: 6651aab28d ]
2023-01-05 17:46:22 -05:00
German Andryeyev
271434f6a3
SWDEV-365305 - Update RT queue test
...
Use 2 RT queues in the test instead of generic with medium priority.
Change-Id: Ia7100a9a79a09e9ef9615d17e0ff41c2b799a9e6
[ROCm/clr commit: a4c174e269 ]
2023-01-05 11:40:49 -05:00
Jaydeep Patel
f9574cd645
SWDEV-374372 - Return invalid value if pitch is less than width in bytes.
...
Change-Id: I33806d747cd344250d02e217de8e9b6d5a7f83c1
[ROCm/clr commit: 7c32f66e67 ]
2023-01-05 10:40:14 -05:00
Jaydeep Patel
f6a5cd9e33
SWDEV-374373 - Occupied size should be within range.
...
Change-Id: I20e24c628c51154c2f8f36dca0a6fa4ead1ee6d0
[ROCm/clr commit: 67792dd858 ]
2023-01-05 08:02:20 -05:00
Anusha GodavarthySurya
7f56e0e09c
SWDEV-373173 - Correct max VGPRs and VGPR Granularity in Occupancy calculation for different asics
...
Change-Id: Ib213ed8767a793a832776fba7c0811c2f023a8ad
[ROCm/clr commit: 067c7316ba ]
2023-01-04 01:34:40 -05:00
German Andryeyev
d8f1606489
SWDEV-360031 - Erase destroyed stream from capture
...
Parallel streams can be destroyed during capture. Make sure runtime
removes the destoryed streams from the list of parallel captured streams
Change-Id: I46b6cbb951e8711f0bf02f2826c3b890b2541ffe
[ROCm/clr commit: 38ad6234f9 ]
2023-01-03 13:34:07 -05:00
kjayapra-amd
8b6dc59393
SWDEV-241902 - Disable COMGR unbundler and use legacy Runtime unbundler.
...
Change-Id: I04128a40f67f3e5ce0db935a0a733b7044d75c34
[ROCm/clr commit: 79f0b8b794 ]
2023-01-03 09:31:11 -08:00
Satyanvesh Dittakavi
47167d7e7a
SWDEV-374371 - hipGraphAddMemsetNode should return error if width is 0
...
Change-Id: I1cd4be271f65c9cade8dddb6d00191e1b74c96bc
[ROCm/clr commit: 409f23d905 ]
2023-01-03 10:29:16 -05:00
sdashmiz
09a1db7005
SWDEV-370309 - GetNodes should do levelorder
...
- GetNode should retrun nodes based on the dependency between them
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ie8ecdd976f8dc9d9b5dc2adc6ae8f879912c8169
[ROCm/clr commit: ce60d47b61 ]
2023-01-03 04:54:55 -05:00
Jaydeep Patel
2d25a60c1a
SWDEV-374370 - Propogate element size to blit kernel.
...
Change-Id: I8a3355c62947265be34e6a2befd26f86b3dc6cd2
[ROCm/clr commit: f2b0542442 ]
2023-01-01 23:54:09 -05:00
pghafari
b0bc6d6c7e
SWDEV-356549 - del Null strm in destroyAllStreams
...
Change-Id: Ie04172ee39e6333247d07791dffda753a8b9ef41
[ROCm/clr commit: a643c199de ]
2022-12-29 15:45:54 -05:00
Chauncey Hui
80e1f21379
SWDEV-2 - Change OpenCL version number from 3549 to 3550
...
[ROCm/clr commit: 2eef0f8dd3 ]
2022-12-29 03:00:08 -05:00
jatang
fca7b357b8
SWDEV-372791 - Default UniformWorkGroupSize to true for CL1.x
...
Change-Id: If03396b5a7a3a69e05fdb4c43791a0d84d9f4127
[ROCm/clr commit: 05a8eaaf0f ]
2022-12-28 12:59:08 -05:00
Chauncey Hui
59f6fb9aab
SWDEV-2 - Change OpenCL version number from 3548 to 3549
...
[ROCm/clr commit: 6c1a250331 ]
2022-12-28 03:00:09 -05:00
Rakesh Roy
981137d2af
SWDEV-374789 - Validate HostQueue before accessing it
...
- hip::getQueue will return nullptr when comgr fails to load blit kernels.
Change-Id: I3bea1f5c13301d4a35e40ab7c6faa73f9c6aecf4
[ROCm/clr commit: 95b2441cbc ]
2022-12-28 01:04:10 -05:00
pghafari
6bae9dde0a
SWDEV-369580 - hipModuleGetTexRef matching cuda
...
Change-Id: I3f071fe0b289c0ba8316c691f066f47d12b156b5
[ROCm/clr commit: 2c906460cb ]
2022-12-27 13:58:26 -05:00
Jaydeep Patel
f1eae835e3
SWDEV-374370 - Propogate element size to blit kernel.
...
Change-Id: I06d1ae6feebd238e9a63c617eb4c4dcf485d9ee0
[ROCm/clr commit: 070ae4e6d4 ]
2022-12-26 09:33:50 +00:00
Anusha GodavarthySurya
609598cd15
SWDEV-345571 - Added support for half/half2 data types for warp shuffle functions
...
Change-Id: Ia0791760c1b0a35bbbf0b1f8435aa924af205169
[ROCm/clr commit: ad1fae7df4 ]
2022-12-26 01:24:06 -05:00
jatang
298382dce2
SWDEV-372791 - Correct CL1.2 PartialWrkgrp test
...
Change-Id: I1d5505af24b7e367a2bee68060e49f1503ff9d94
[ROCm/clr commit: d5af082b87 ]
2022-12-22 16:28:41 -05:00
Ioannis Assiouras
49a3b0c6ba
SWDEV-374393, SWDEV-373631 - Added input checks for hipMemcpy2D/3D
...
Change-Id: I5ae57326c35b599d9ecec05e2a22bc6086027322
[ROCm/clr commit: 1278cf555e ]
2022-12-22 11:21:55 -05:00
Ioannis Assiouras
65f79be5f7
SWDEV-374355, SWDEV-374356, SWDEV-374357, SWDEV-374358, SWDEV-374359 - Added input sanity checks to hipExternalMemoryGetMappedBuffer
...
Change-Id: I61e43dece3fb9bd961e92db8e015f08170327538
[ROCm/clr commit: 99d2d016c1 ]
2022-12-22 10:46:10 +00:00
Jaydeep Patel
376f515547
SWDEV-374398 - Pitch should not be less than width for both src and dst.
...
Change-Id: Ib8fa8e3bd0c655f3de213b3798d369ba866b2f01
[ROCm/clr commit: c4003ef62a ]
2022-12-21 23:08:55 -05:00
Anusha GodavarthySurya
b534cb32d2
SWDEV-373147 - Return error when getDeviceKernel returns nullptr
...
Change-Id: Ie9fcaa2bff87cb8ef363dc7e8362b74b8725b3b6
[ROCm/clr commit: 707ca92a80 ]
2022-12-21 22:14:10 -05:00
Ioannis Assiouras
0019cfdf7c
SWDEV-374392 - Make hipMemCpy2/3DAsync synchronous for any HostToHost and DeviceToPageableHost
...
Change-Id: Iaa411681a49427a9e9b3a06e90abb0b32f5a6851
[ROCm/clr commit: d29a2e545d ]
2022-12-21 14:59:39 -05:00