Graf commitů

64512 Commity

Autor SHA1 Zpráva Datum
sdashmiz fffa6e3296 SWDEV-389530 - [ABI Break]Match error with cuda
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Id9de54b4fd1be7b6b887a4ebfcc6a3d9a70c7bc9


[ROCm/clr commit: 2d83abaca6]
2023-10-16 07:31:34 -04:00
sdashmiz 2d83abaca6 SWDEV-389530 - [ABI Break]Match error with cuda
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Id9de54b4fd1be7b6b887a4ebfcc6a3d9a70c7bc9
2023-10-16 07:31:34 -04:00
Christophe Paquot 122ffd076b SWDEV-371332 - Convert CUmemorytype to HIP enum
We need to convert the value given back from CUDA to HIP during hipPointerGetAttribute call

Change-Id: Idb19d60971f360a71c7451cfc56cdc56831d262f


[ROCm/hipother commit: ddb70737bd]
2023-10-16 00:29:24 +05:30
Christophe Paquot ddb70737bd SWDEV-371332 - Convert CUmemorytype to HIP enum
We need to convert the value given back from CUDA to HIP during hipPointerGetAttribute call

Change-Id: Idb19d60971f360a71c7451cfc56cdc56831d262f
2023-10-16 00:29:24 +05:30
sdashmiz 555aacb1fb SWDEV-371332 - [ABI Break] Return success for unregistered ptr
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie58d16420578e7118997eb40a9fd6a6641b666f3


[ROCm/clr commit: d78aef7f66]
2023-10-15 14:32:24 -04:00
sdashmiz d78aef7f66 SWDEV-371332 - [ABI Break] Return success for unregistered ptr
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie58d16420578e7118997eb40a9fd6a6641b666f3
2023-10-15 14:32:24 -04:00
Maneesh Gupta 515ea1eb56 SWDEV-418100 - Move nv headers to hipother repo
Change-Id: Ib54546e366b61bdb83789d8264f30f1bfb875605


[ROCm/clr commit: 67dda1ffd6]
2023-10-14 06:56:13 +00:00
Maneesh Gupta 67dda1ffd6 SWDEV-418100 - Move nv headers to hipother repo
Change-Id: Ib54546e366b61bdb83789d8264f30f1bfb875605
2023-10-14 06:56:13 +00:00
Charis Poag 73d4fbf53d bdfid fix for partition & xgmi nodes
* Updates:
    - [API] After discovering all amd gpus, we now properly
      map correct bdf (xgmi nodes). Especially important for
      partition changes - aka secondary nodes.
    - [API] While adding new secondary nodes we now have
      better grouping -> due to resorting based on
      kfd properties list & matching to primary uniqueid
    - [API] All secondary nodes are now AddToDeviceList
      with correct bdf (location id), provided by kfd
    - [API] Modified AddToDeviceList(..., uint64_t bdfid):
      providing an optional field - bdfid. This allows working
      around primary pcie cards with xgmi nodes
    - [API] Utils - cpplint minor fixes
    - [Example] Removed all endl references w/ newline, fixed
      spacing, and some incorrect values displaying as hex
      (needed dec representation)
    - [API] kfd node functions - now print full path of file
      for trace logs
    - [Tests] power_read.cc: Added in generic power test to
      confirm guaranteeing specific return values

Change-Id: I143474e8d64c4915a966e789be6bcea4fa7f4472
Signed-off-by: Charis Poag <Charis.Poag@amd.com>


[ROCm/rocm_smi_lib commit: 6f1afd2678]
2023-10-13 20:14:39 -05:00
Charis Poag 6f1afd2678 bdfid fix for partition & xgmi nodes
* Updates:
    - [API] After discovering all amd gpus, we now properly
      map correct bdf (xgmi nodes). Especially important for
      partition changes - aka secondary nodes.
    - [API] While adding new secondary nodes we now have
      better grouping -> due to resorting based on
      kfd properties list & matching to primary uniqueid
    - [API] All secondary nodes are now AddToDeviceList
      with correct bdf (location id), provided by kfd
    - [API] Modified AddToDeviceList(..., uint64_t bdfid):
      providing an optional field - bdfid. This allows working
      around primary pcie cards with xgmi nodes
    - [API] Utils - cpplint minor fixes
    - [Example] Removed all endl references w/ newline, fixed
      spacing, and some incorrect values displaying as hex
      (needed dec representation)
    - [API] kfd node functions - now print full path of file
      for trace logs
    - [Tests] power_read.cc: Added in generic power test to
      confirm guaranteeing specific return values

Change-Id: I143474e8d64c4915a966e789be6bcea4fa7f4472
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
2023-10-13 20:14:39 -05:00
Giovanni LB 60197d0f20 SWDEV-427013: Fixing ATT parser for tensile kernels and network mode
Change-Id: I07cd34f5606c0aaf718d9e3ffabd5a407523a943
2023-10-13 20:41:46 -04:00
Giovanni LB 6852d2d6e8 SWDEV-427013: Fixing ATT parser for tensile kernels and network mode
Change-Id: I07cd34f5606c0aaf718d9e3ffabd5a407523a943


[ROCm/rocprofiler commit: 60197d0f20]
2023-10-13 20:41:46 -04:00
sdashmiz 8c08d1b862 SWDEV-371332 - [ABI Break]change hipMemoryType enum
- match cuda

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


[ROCm/hip commit: 6240eb30d4]
2023-10-13 20:01:12 -04:00
sdashmiz 6240eb30d4 SWDEV-371332 - [ABI Break]change hipMemoryType enum
- match cuda

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I8e57d7c1e43d8161db6b2e5a61a5fdedaa4b240e
2023-10-13 20:01:12 -04:00
Sriraksha Nagaraj a76341e30c Enabling -m and --basenames option
Change-Id: Ic19ac28ab6ec842daf2a93a311ed7690b61b1e2a
2023-10-13 14:44:20 -04:00
Sriraksha Nagaraj b5be707bcb Enabling -m and --basenames option
Change-Id: Ic19ac28ab6ec842daf2a93a311ed7690b61b1e2a


[ROCm/rocprofiler commit: a76341e30c]
2023-10-13 14:44:20 -04:00
sdashmiz 4b171d9fe7 SWDEV-371332 - [ABI Break]remove if def for cu/cuda memtype
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I0754ef8bc7c9384bab65599a41719de0fd71b415


[ROCm/hip-tests commit: bfa6d77ce5]
2023-10-13 13:44:48 -04:00
sdashmiz bfa6d77ce5 SWDEV-371332 - [ABI Break]remove if def for cu/cuda memtype
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I0754ef8bc7c9384bab65599a41719de0fd71b415
2023-10-13 13:44:48 -04:00
David Yat Sin 22be526230 Fix escape-to-IB packet definition
The Vendor specific header is only 8-bits and this would break the
behavior on big-endian machines. Renaming field to amd_format to match
name in spec sheets.

Change-Id: I65559757657565d3d3ff489d2663a0be42cf8ba5
2023-10-13 13:37:49 +00:00
David Yat Sin dc0cfa8a54 Fix escape-to-IB packet definition
The Vendor specific header is only 8-bits and this would break the
behavior on big-endian machines. Renaming field to amd_format to match
name in spec sheets.

Change-Id: I65559757657565d3d3ff489d2663a0be42cf8ba5


[ROCm/ROCR-Runtime commit: 22be526230]
2023-10-13 13:37:49 +00:00
kjayapra-amd 652964079c SWDEV-415965 - Fixing uninitialized variable error for pitch_M and
update hipArray in hipGetLastError

Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab


[ROCm/hip-tests commit: baaaff9d7f]
2023-10-13 16:25:01 +05:30
kjayapra-amd baaaff9d7f SWDEV-415965 - Fixing uninitialized variable error for pitch_M and
update hipArray in hipGetLastError

Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab
2023-10-13 16:25:01 +05:30
Jaydeep Patel 90e078b5f4 SWDEV-425490 - Move ptrdiff_t & clock_t to hiprtc.cmake.
Change-Id: I7c8ce3c1b8cb11e0253b0f51ae10fca7f0a32017


[ROCm/clr commit: 7150b2eaad]
2023-10-13 00:58:56 -04:00
Jaydeep Patel 7150b2eaad SWDEV-425490 - Move ptrdiff_t & clock_t to hiprtc.cmake.
Change-Id: I7c8ce3c1b8cb11e0253b0f51ae10fca7f0a32017
2023-10-13 00:58:56 -04:00
Galantsev, Dmitrii 2e5f5fd51a TESTS - Skip XGMI test
Change-Id: Idd9f505f36fac4a670e5129f835aa051b5c4c9fa
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rocm_smi_lib commit: 2a7589a065]
2023-10-12 21:27:55 -05:00
Galantsev, Dmitrii 2a7589a065 TESTS - Skip XGMI test
Change-Id: Idd9f505f36fac4a670e5129f835aa051b5c4c9fa
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-10-12 21:27:55 -05:00
Rajneesh Bhardwaj 5047eb161f libhsakmt: Use MADV_HUGEPAGE for large allocations
For large memory allocations (>2MB) the thunk should use the
MADV_HUGEPAGE flag for madvise call to optimize allocation performance
on certain operating systems that rely on madvise hint when Traspatent
Huge Pages is not set to always.

Suggested-by: Joseph Greathouse <joseph.greathouse@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Change-Id: Ic0c753f89a177b0f715942d6e2a7108b08a85f20
2023-10-12 17:01:34 -04:00
Rajneesh Bhardwaj bb813a14d4 libhsakmt: Use MADV_HUGEPAGE for large allocations
For large memory allocations (>2MB) the thunk should use the
MADV_HUGEPAGE flag for madvise call to optimize allocation performance
on certain operating systems that rely on madvise hint when Traspatent
Huge Pages is not set to always.

Suggested-by: Joseph Greathouse <joseph.greathouse@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Change-Id: Ic0c753f89a177b0f715942d6e2a7108b08a85f20


[ROCm/ROCR-Runtime commit: 5047eb161f]
2023-10-12 17:01:34 -04:00
Ranjith Ramakrishnan a12d47fdb1 Missing library softlink added to ASAN package
The softlinks librocprofiler64.so and librocprofiler64v2.so was missing in ASAN package
Added the same

Change-Id: I8775b811f08377845dcce6bca88818c1741f3462
2023-10-12 12:33:05 -04:00
Ranjith Ramakrishnan f4f9d5adf5 Missing library softlink added to ASAN package
The softlinks librocprofiler64.so and librocprofiler64v2.so was missing in ASAN package
Added the same

Change-Id: I8775b811f08377845dcce6bca88818c1741f3462


[ROCm/rocprofiler commit: a12d47fdb1]
2023-10-12 12:33:05 -04:00
Julia Jiang 4ae9dadc3d SWDEV-415343 - Make correction on description for hip API hipDeviceGetLimit
Change-Id: Ibb91e6a2b14eb7ee1a62a7cbcfa7c0cdba305700


[ROCm/hip commit: 24a84835af]
2023-10-12 12:26:55 -04:00
Julia Jiang 24a84835af SWDEV-415343 - Make correction on description for hip API hipDeviceGetLimit
Change-Id: Ibb91e6a2b14eb7ee1a62a7cbcfa7c0cdba305700
2023-10-12 12:26:55 -04:00
Julia Jiang 8be8e33085 SWDEV-422771 - Update HIP build instructions
Change-Id: Id34f7d42c810caf74c20eb55dd8b808896c312e7


[ROCm/hip commit: 2c14d44f5d]
2023-10-12 12:26:36 -04:00
Julia Jiang 2c14d44f5d SWDEV-422771 - Update HIP build instructions
Change-Id: Id34f7d42c810caf74c20eb55dd8b808896c312e7
2023-10-12 12:26:36 -04:00
Satyanvesh Dittakavi b284d005b9 SWDEV-395996 - Enable the disabled hiprtc tests
Change-Id: Id0b12f11c298f7488cd95e92916574388e9b1356


[ROCm/hip-tests commit: 949cb688dd]
2023-10-12 12:11:35 -04:00
Satyanvesh Dittakavi 949cb688dd SWDEV-395996 - Enable the disabled hiprtc tests
Change-Id: Id0b12f11c298f7488cd95e92916574388e9b1356
2023-10-12 12:11:35 -04:00
Ioannis Assiouras e816903523 SWDEV-422665,SWDEV-420913 - Fixed Unit_hipMemPrefetchAsync_NonPageSz
Change-Id: Ie453ced8eb246c54df754ca2d34ee2696d392c58


[ROCm/hip-tests commit: c1815ffd1a]
2023-10-12 12:11:19 -04:00
Ioannis Assiouras c1815ffd1a SWDEV-422665,SWDEV-420913 - Fixed Unit_hipMemPrefetchAsync_NonPageSz
Change-Id: Ie453ced8eb246c54df754ca2d34ee2696d392c58
2023-10-12 12:11:19 -04:00
sdashmiz 12726ee23b SWDEV-332969 - [ABI Break] Change hipArray* with hipArray_t
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ia0897362f7f2be29a0c7580a9db70ea02cf56670


[ROCm/hip commit: 41bfc32e09]
2023-10-12 12:09:39 -04:00
sdashmiz 41bfc32e09 SWDEV-332969 - [ABI Break] Change hipArray* with hipArray_t
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ia0897362f7f2be29a0c7580a9db70ea02cf56670
2023-10-12 12:09:39 -04:00
sdashmiz 5760a5449a SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

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


[ROCm/hip-tests commit: e161374c31]
2023-10-12 12:09:20 -04:00
sdashmiz e161374c31 SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie1dade58d868182309caf00bf65a86a8fed2cfa6
2023-10-12 12:09:20 -04:00
sdashmiz dd373854f3 SWDEV-332969 - [ABI Break]Substitute hipArray* with hipArray_t
- hipArray will be an internal struct from rocm6.0

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


[ROCm/hipother commit: 452c1060f3]
2023-10-12 12:09:19 -04:00
sdashmiz 452c1060f3 SWDEV-332969 - [ABI Break]Substitute hipArray* with hipArray_t
- hipArray will be an internal struct from rocm6.0

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Icf97fe96b87be8532098cd7f9ceaad099f99c9b9
2023-10-12 12:09:19 -04:00
sdashmiz fcfa0d0733 SWDEV-332969 - [ABI Break]Substitute hipArray* with hipArray_t
- hipArray will be an internal struct from rocm6.0

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


[ROCm/clr commit: c089ef4a2b]
2023-10-12 12:09:19 -04:00
sdashmiz c089ef4a2b SWDEV-332969 - [ABI Break]Substitute hipArray* with hipArray_t
- hipArray will be an internal struct from rocm6.0

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Icf97fe96b87be8532098cd7f9ceaad099f99c9b9
2023-10-12 12:09:19 -04:00
mbhiutra 1593c69807 SWDEV-415965 - [catch2][dtest] Added test for newly added member of hipDeviceProp_t
Move the test of AMD specific attribute into proper section

Change-Id: Id35e604e68123eee623a616ba6cd680097f6556d


[ROCm/hip-tests commit: cc35feba07]
2023-10-12 12:07:49 -04:00
mbhiutra cc35feba07 SWDEV-415965 - [catch2][dtest] Added test for newly added member of hipDeviceProp_t
Move the test of AMD specific attribute into proper section

Change-Id: Id35e604e68123eee623a616ba6cd680097f6556d
2023-10-12 12:07:49 -04:00
Jaydeep Patel ae4c7bb1a2 SWDEV-413161/SWDEV-415848 - Prefetch is only for device memory.
Change-Id: Ie2d9cb907fbf7958dfd1b90a5b01a2722cb4e2a5


[ROCm/hip-tests commit: f44b862cd9]
2023-10-12 11:53:09 -04:00
Jaydeep Patel f44b862cd9 SWDEV-413161/SWDEV-415848 - Prefetch is only for device memory.
Change-Id: Ie2d9cb907fbf7958dfd1b90a5b01a2722cb4e2a5
2023-10-12 11:53:09 -04:00