Commit Graph

1521 Commits

Author SHA1 Message Date
Your Name dd18b3b01b SWDEV-368477 - hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags nvidia mapping
SWDEV-369618 - hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags invalid flag scenario
Change-Id: I2edbab5d3eeacf80bc215f0a77a46d733f4b4ec9


[ROCm/clr commit: 3e47c052e0]
2022-11-29 12:38:39 -05:00
Rakesh Roy ff8d9d3c77 SWDEV-348820 - Fix hipPointerAttribute_t incompatibility
- Use hipPointerAttribute_t.type instead of hipPointerAttribute_t.memoryType

Change-Id: I3bf1c0758bdae987213ba7de62247dd420ef4cc9


[ROCm/clr commit: cbc3a0a652]
2022-11-29 00:53:24 -05:00
Ioannis Assiouras 312b9e13ed SWDEV-369557 - Added enum mapping for external[Semaphore/Memory]HandleType
Change-Id: If1b95b084f7fa312e6cdad4ccf433127671a35ce


[ROCm/clr commit: 33cb388101]
2022-11-28 13:32:31 -05:00
Anusha GodavarthySurya 65d01b5347 SWDEV-365299 - update implementation __float2half_{rd,ru,rz} to call __ocml_cvt{rtn, rtp, rtz}_f16_f32
Change-Id: I6cd711fbeb0e02a1caa03ac7f3dd9c8f8fdbac01


[ROCm/clr commit: f7ca4b8fb9]
2022-11-25 16:27:02 +00:00
Anusha GodavarthySurya bb6872fa86 SWDEV-325711 - Added few graph API support for nvidia path
Change-Id: I4eb6e77220e201c85fdaa3a004590c4c5d5ea6c6


[ROCm/clr commit: 766c40aab8]
2022-11-25 09:08:32 -05:00
Ioannis Assiouras 26a1c72182 SWDEV-364950 - Remove Scalar_accessors from HIP_vector_type
Change-Id: I13ecc213c98a1c7b5febcd43c0a21ee6db725f60


[ROCm/clr commit: c5b08c621f]
2022-11-24 09:40:54 -05:00
Pierre van Houtryve 64e080a99d Fix atomicInc/dec scope to "agent"
Addresses leftover comment of Icd1d9b9438cac4bef0f7c52d4cd341ac76500890

Change-Id: If9c395335497d634e4c702433d6e3681583bedef


[ROCm/clr commit: a312c0a956]
2022-11-24 06:56:49 -05:00
Ioannis Assiouras bee5fcc4b6 SWDEV-364950 - Add trivial copy assignment for HIP_vector_type under HIP_CLANG_ONLY path
Change-Id: I56a1003ba32c748631c7751b2e6a49e12e48afcb


[ROCm/clr commit: 432f5fbc97]
2022-11-23 16:56:39 +00:00
Anusha GodavarthySurya 0645ad4576 SWDEV-366653 - Added new graph APIs - Fix windows build
Change-Id: I580133bddcbab5529aecfb70bc9776e8c40de697


[ROCm/clr commit: 78eef7f173]
2022-11-23 08:57:49 +00:00
Anusha Godavarthy Surya ed6595bc41 SWDEV-325711 - Added Graph APIs hipGraphDebugDotPrint, hipGraphKernelNodeCopyAttributes
hipGraphNodeGetEnabled, hipGraphNodeSetEnabled and hipGraphUpload

Change-Id: Ib5a58fbc0a9b3f134eb56d42cd945f3d7f4922d8


[ROCm/clr commit: 93ce12c90d]
2022-11-22 23:20:25 -05:00
Satyanvesh Dittakavi 243d4dacd1 SWDEV-366306 - SWDEV-366314 - Support hip vector types and hip_bfloat16 with hiprtc
Also, moves the hip_bfloat16 header implemenation from hip
to hipamd

Change-Id: I9980126fa1ee8160ff9f5f8241f64699a9702c95


[ROCm/clr commit: 5f4aa2e994]
2022-11-18 06:58:31 -05:00
Julia Jiang d5a8c3fbf9 SWDEV-340754 - Update coordinates in coperatative helper
Change-Id: Ibf4e833d10ea5c317900e83f020c9c23f55f3951


[ROCm/clr commit: 30c43056c1]
2022-11-17 14:17:58 -05:00
Jaydeep Patel b7318ab24c SWDEV-366088 - Default case returns -1 as enum value.
Change-Id: I8dd5cac254c99e4de9f6d492e71060e39b069507


[ROCm/clr commit: c800d2126d]
2022-11-15 22:12:12 -05:00
Daria Materikina d388a7fad7 make header intel-compatible
Change-Id: I8f8b68ba23e8f86dfeaf7c7b464f2b6ca6999971


[ROCm/clr commit: 834d9d3a3c]
2022-11-14 17:59:01 -05:00
kjayapra-amd a72344ad67 SWDEV-337452 - Adding__ockl_steadyctr_u64 option for wall_clock64.
Change-Id: I4ee6fd4d40d500363ef84975078185093dab5ddd


[ROCm/clr commit: 5ff27faa04]
2022-11-07 08:47:30 -05:00
Anusha GodavarthySurya 3a482da878 SWDEV-366153 - Fix __ocml_isnan_f16 to pass _Float16
Change-Id: I7628f21d000cec490f5fb2c91f1b99ca61fb46cf


[ROCm/clr commit: c974cbcb3d]
2022-11-06 21:57:23 -05:00
pghafari d9eb49726f SWDEV-362199 - add vulkan interop apis in nvidia
Change-Id: I6c5de6174a80be862b6d869927ed704dd1421b41


[ROCm/clr commit: ac2948651e]
2022-11-04 16:49:21 -04:00
Anusha GodavarthySurya c9f30dcdd6 SWDEV-362611 - Added hmax and hmin
Change-Id: I133a80e997e39357693df7ab969425c0d5585607


[ROCm/clr commit: 07b3070e25]
2022-10-31 00:23:57 -04:00
Pierre van Houtryve 6d160e5a69 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


[ROCm/clr commit: dcb5d29f1e]
2022-10-27 10:17:21 -04:00
Laurent Morichetti bec405981e 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


[ROCm/clr commit: 19107858d6]
2022-10-21 14:55:33 -04:00
Satyanvesh Dittakavi c0c8aa5eb6 SWDEV-349226 - Add the hipDataTypes mapping to cudaDataTypes
Change-Id: Iadeb2675adf314c02dcc5d722581678ec36f8632


[ROCm/clr commit: 1c68c74bb7]
2022-10-14 06:44:30 -04:00
Jaydeep Patel fc3f04fa7d SWDEV-356551 - Add support for device attributes.
Change-Id: Ic0f2b9cb510b027e0b8d1b3fb6d984e0d2600b15


[ROCm/clr commit: 7ef4eada54]
2022-10-11 12:06:44 -04:00
Satyanvesh Dittakavi f664f42443 SWDEV-360001 - Add hipLaunchHostFunc in Nvidia path
Change-Id: I5c733b416642174a089a86c420b03e8775e206d6


[ROCm/clr commit: 0d67bd3f09]
2022-10-11 06:18:52 -04:00
Laurent Morichetti 08d7b38b0f SWDEV-359838 - Add a phase data pointer to the hip_api_data_t
To avoid using the thread local std::stack to remember the phase enter
timestamp, the tracer tool uses the phase data to store the timestamp.

Change-Id: I9e95637b41d6f0b2bd61016062ca07d6ba897652


[ROCm/clr commit: 47a29c748a]
2022-09-30 14:55:01 -07:00
kjayapra-amd 32838b0613 SWDEV-356651 - Merge hipJit options between hiprtc and hip runtime.
Change-Id: I73b66eaf081ce63b6b7ce45f71880877953cf81c


[ROCm/clr commit: ab89a70f5d]
2022-09-22 12:53:58 -04:00
Maneesh Gupta 12c48303c8 Revert "SWDEV-351980 - Update hip_prof_str.h"
This reverts commit c878ce02f6.

Reason for revert: Incorrect patch

Change-Id: I9adba47d0ab18f621b599295bd9d0fd98887f5d3


[ROCm/clr commit: 835b7578dc]
2022-09-21 13:04:38 -04:00
Maneesh Gupta c878ce02f6 SWDEV-351980 - Update hip_prof_str.h
Change-Id: Ied27c137aff54e69dc14129e6daad9196479edf9


[ROCm/clr commit: f296e42803]
2022-09-21 11:38:59 +00:00
Ajay bfea9634a5 SWDEV-357334 - hipEventRecord_spt() to take optional stream arg
Change-Id: I19540c577e2c3635a00379f814350ada41020af2


[ROCm/clr commit: 2801e4fe63]
2022-09-19 20:28:13 +00:00
Saleel Kudchadker ad9557a00b SWDEV-301667 - Pass all params to API Init
- Correct return for ihipLaunchKernel

Change-Id: I66e81fa635473e6e728936e4cfba9f1bc7f018ad


[ROCm/clr commit: df278887fe]
2022-09-15 22:20:02 -07:00
Anusha Godavarthy Surya 1cb6a65b16 SWDEV-350025 - Added hipLaunchHostFunc functionality
Change-Id: I6b9d547f7ddf84e617e35ff5d5a490ff458272ef


[ROCm/clr commit: 52a22a1263]
2022-09-07 17:53:26 +00:00
Sarbojit Sarkar 981281199d SWDEV-354138 - Fixed SPT functions linking issue
Change-Id: I738ccdfd6db8cfa8c29f93bb6061e83795df382b


[ROCm/clr commit: 3b530b5676]
2022-09-05 06:22:08 -04:00
sdashmiz e3aa6f4b90 SWDEV-353672 - add missing defines for cuda
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I8e2e0a3b8845d1920e6a40e3ed676c657ab90276


[ROCm/clr commit: da47e7184e]
2022-08-29 08:59:23 -04:00
Laurent Morichetti acd38f5eaa SWDEV-351980 - Fix hip_prof_str.h generation
Fixed an error in the CMakeLists.txt USE_PERF_API option declaration
that was making it always disabled. Fixing this exposed an issue with
the hip_prof_gen.py script's handling of function variants (for example,
_spt functions) and new HIP_INIT_API_* macros.

Also switched the python interpreter to python3 as python2 may not be
available by default on the build system.

Change-Id: I971fc9edcc746ca63a2bdf4f540e755f9a80fe69


[ROCm/clr commit: 8ac20e5e38]
2022-08-18 23:15:27 -07:00
sdashmiz 213aad7615 SWDEV-325711: Add userobject functions for graph
- add user obj APIs for creating release and retain of user onbjects

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


[ROCm/clr commit: 2c010dec17]
2022-08-17 14:31:43 -04:00
Satyanvesh Dittakavi 5172406a51 SWDEV-341992 - Add hipRefTex data types mapping on nvidia path
Change-Id: Icec2ec110f2647bfb4c571ff16dd3852cfc9fe4a


[ROCm/clr commit: d12f205fd1]
2022-08-10 02:45:25 -04:00
Jaydeep Patel d019772bd0 SWDEV-348565 - Support for += operator.
Change-Id: I29045733de3906849e68b89c22e01badc9bd2b24


[ROCm/clr commit: 638f9a7c0e]
2022-08-05 02:59:39 -04:00
Sarbojit Sarkar 6de0657b08 SWDEV-1 - cleanup
Change-Id: Ib50424c87cfc76317eb0c114b5dd3553d8ebd9eb


[ROCm/clr commit: e1f1e38d79]
2022-08-01 00:05:58 -04:00
Tao Sang 64b9f0a192 SWDEV-286739 - Support hipDeviceAttributeWallClockRate
Part 3: Add missing declaration of wall_clock64() to fix
compiling issue in device code.
Add querying hipDeviceAttributeWallClockRate.

Change-Id: Ie54771c2f58eeaacdc0248bc116ef193f99eb9b9


[ROCm/clr commit: 9f9fd859db]
2022-07-28 13:02:42 -04:00
Jaydeep Patel 2de8ca99ff SWDEV-338376 - CUDA VMM API mappings
Change-Id: I47595dbf57fcce352d23842dbbc2b98b4ec97fb5


[ROCm/clr commit: fa786c606a]
2022-07-27 02:35:13 -04:00
sdashmiz fc0d9521f2 SWDEV-347345 - add missing func for nvdia
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie2a70778d01948083d724a9d20e1f17541178ec5


[ROCm/clr commit: fefb9ae466]
2022-07-24 21:38:14 -04:00
haoyuan2 71bd9ac9b9 SWDEV-342896 - fix incorrect format setting
Change-Id: I1fa72eefa3b550d41db6a4cc0812771fb0035bdc


[ROCm/clr commit: b96ff76989]
2022-07-22 11:17:50 -04:00
Rakesh Roy 32292bb914 SWDEV-344135 - Enable stream ordered memory and mempool tests
- Implement CUDA mappings for stream ordered memory allocator and memory pool APIs

Change-Id: I2434118ff043527ec7c3389cd5175e1e21d032bf


[ROCm/clr commit: 9f4214b587]
2022-07-21 00:05:39 -04:00
sdashmiz f40f675a64 SWDEV-346448 - fix the missing defines
for nvdi compile

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


[ROCm/clr commit: 4bac774783]
2022-07-20 11:31:50 -04:00
Ajay 56a71f18a2 SWDEV-327563 - catch2 deviceLib build failure
Change-Id: I82f95d61f64018a761e45dc8f424af032953fc51


[ROCm/clr commit: 9b18e404ae]
2022-07-15 21:11:20 -04:00
Brian Sumner 1d88a5df2c SWDEV-343278 - fix conversion functions
Change-Id: Ib93f886363314e980462ef562c998981bb958569


[ROCm/clr commit: a47887aa0d]
2022-07-15 16:00:58 -04:00
Brian Sumner 5a402b9c99 SWDEV-333033 - add safe and unsafe atomic min and max including gfx940 and add missing nvidia support
Change-Id: I829a0a5fd49c510e77eabbcb92d1a415ef6b5a4c


[ROCm/clr commit: 4375b9f5b9]
2022-07-14 10:22:42 -04:00
sdashmiz 024e1510b1 SWDEV-321698 - add new enum entries to match cuda
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: If0a17b3234fd90b1f553a075e02280258000d36a


[ROCm/clr commit: 39dbf65782]
2022-07-13 10:22:06 -04:00
Ajay 39a8a1df8d SWDEV-345188 - hipamd: warnings treated as errors for catch tests
Change-Id: I8981a530da2e0213c60f7a81b09d9c36e27e9025


[ROCm/clr commit: 9eb45dd1e0]
2022-07-12 15:34:39 -04:00
Sarbojit Sarkar d9be7ebb3e SWDEV-341174 - Fixed typo
Change-Id: Ib605390bd17d014539d57488f0633db44d7c1fad


[ROCm/clr commit: 7d9dd78613]
2022-07-11 12:24:18 -04:00
Sarbojit Sarkar 3eb5628a49 SWDEV-345723 - Fixed test build issue
Change-Id: Id9545c9523bfad6b5afefcdc1f705d6043094ae4


[ROCm/clr commit: 2531854626]
2022-07-11 12:23:34 -04:00