36 Коммитов

Автор SHA1 Сообщение Дата
systems-assistant[bot] 05c0a38732 SWDEV-508776 - Validate VGPRs (#620)
Add a test to verify VGPRs.
Make hipInfo show maxAddressableVgprsPerThread.

Change-Id: Ibfc2c912a54ccd1686a3930a1008c472a8465136

Co-authored-by: taosang2 <tao.sang@amd.com>
2025-09-22 11:28:05 -04:00
Danylo Lytovchenko f7338717ae SWDEV-470698 - fix formatting, add format check workflow (#657) 2025-08-20 19:58:06 +05:30
taosang2 9ead75d6a1 SWDEV-431104 - Add pcie atomic in hipinfo
Add hostNativeAtomicSupported property into
hipinfo.

Change-Id: I606226705cd440c1742e0eac4840f7b189d69148


[ROCm/hip-tests commit: a115fcc189]
2023-11-17 12:31:37 -05:00
ROCm CI Service Account f8e1cba1ad SWDEV-402381 - Add hipCheckErrors for HIP API calls in samples (#375)
Change-Id: I335d7e780362fc59fd2d90939b4c8b8a7231ffc7

[ROCm/hip-tests commit: 7cc53f992f]
2023-07-20 10:22:17 +05:30
Sarbojit2019 20ef9be4aa SWDEV-306176 - Fix hipInfo sample for arch name showing junk values on some platform (#2404)
[ROCm/hip-tests commit: d287ee0b43]
2021-11-25 15:13:22 +05:30
agunashe 516c38bcfd SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2


[ROCm/hip-tests commit: e2c6bb5b4e]
2021-07-07 12:57:23 -04:00
Tao Sang 93295552bc Remove hip-hcc codes: Part four
Remove __HCC__, __HCC_ONLY__, __HCC_CPP__, __HCC_C__,
__HCC_OR_HIP_CLANG__, __HIP_ROCclr__ and their guarded codes.

Remove Hcc codes from directed_tests and samples.

Remove __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__ from
some files where they are not necessary.

Add deprecation notice.

Change-Id: I1ae467eafd749d6c25bca204c1724b026be21fce


[ROCm/hip-tests commit: 22094572e1]
2021-01-08 10:53:34 -05:00
Tao Sang f47afbd3bf Remove hip-hcc codes: Part three
1.Rename include/hip/hcc_detail/ as include/hip/amd_detail/

2.Rename include/hip/nvcc_detail/ as include/hip/nvidia_detail/

3.Create __HIP_PLATFORM_AMD__ to replace __HIP_PLATFORM_HCC__

4.Create __HIP_PLATFORM_NVIDIA__ to replace __HIP_PLATFORM_NVCC__

After hcc_detail, nvcc_detail, __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__
have been removed from upstream, they will be removed from hip runtime.

Change-Id: I1ae457effd739d6c25bca203c1724b026be21fce


[ROCm/hip-tests commit: 693b89b3dd]
2021-01-05 10:39:31 -05:00
Jason Tang 41e8408a60 Add asicRevision
Change-Id: I59f3ad20b9bdadf77bd1e0725f7a401d7ad423a3


[ROCm/hip-tests commit: c7212506c9]
2020-06-16 17:54:20 -04:00
Jason Tang a4044e1b12 SWDEV-227909 - Add gcnArchName
Change-Id: Iea6d16b5d693dd0d900fa424d7a321c39315430e


[ROCm/hip-tests commit: 593b8a093f]
2020-06-05 15:33:55 -04:00
Alex Xie 88bb95e70a SWDEV-221166 - Detect support for large bar access through HIP runtime API
Change-Id: Iaa9756c1b5e40c1ab5afb38e44a6699fa5f6c13f


[ROCm/hip-tests commit: 9136212b51]
2020-05-01 20:39:52 -04:00
Maneesh Gupta 4247ec7d9d Merge branch 'amd-master' into amd-master-next
Change-Id: I3094c15008093f2072bcd38aca4ea90aeae2d97b


[ROCm/hip-tests commit: 22e9bcf424]
2020-04-09 06:31:00 -04:00
Sarbojit2019 2b501b389a Added missing device prop fields into hipInfo sample (#1357)
* Added prop.integrated into hipInfo sample

* Added missing deviceProp fileds in hipInfo


[ROCm/hip-tests commit: bd535ca14b]
2019-08-23 09:21:47 +00:00
chrispaquot 812247b00d Set device before processing each one (#1358)
[ROCm/hip-tests commit: cb0a3ca5bc]
2019-08-23 09:19:50 +00:00
Evgeny Mankov eaef7e9024 [HIP][tests] Copyright notice update
[ROCm/hip-tests commit: f5f240744a]
2019-05-20 18:46:23 +03:00
Maneesh Gupta 3277453ea5 Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344


[ROCm/hip-tests commit: 6b09bde675]
2018-03-12 11:29:03 +05:30
Aditya Atluri 7a20b9afe1 automate gcnarch detection
Change-Id: Ibbad22db136f7f5e2be84c82e9169298a144cc77


[ROCm/hip-tests commit: 98905a7272]
2017-06-29 12:01:40 -05:00
Ben Sander 257d60a385 Print limits on CUDA devices
[ROCm/hip-tests commit: cee24a20f2]
2016-12-16 08:55:11 -06:00
Ben Sander 0f3bbe3055 Print non-peers too
Change-Id: I2a6905edcdf144aa732ae3120c17780477f232ac


[ROCm/hip-tests commit: ab73e76987]
2016-11-04 06:34:07 -05:00
Maneesh Gupta 444284037a samples: Updated copyright header
Change-Id: I821f514ced5e34d492cb167b65d7273e26ed7b84


[ROCm/hip-tests commit: a46e251daf]
2016-10-15 23:05:04 +05:30
Maneesh Gupta c0b972508a samples: Updated to use new hip include path
Change-Id: I53a1385a17f13a997ea21d14315f15a3ad851dab


[ROCm/hip-tests commit: 937c0389cb]
2016-10-04 22:21:10 +05:30
Ben Sander 9d97bed817 Sample improvements.
- Enable -O3 for hipDispatchLatency.
- Use nearly-null kernel to prevent it from being optimized away.
- Formatting for hipDispatchLatency.
- Formatting for hipInfo.


[ROCm/hip-tests commit: fdb4ed3c5e]
2016-09-22 13:05:47 -05:00
Ben Sander f268a705ee fix peer query order
[ROCm/hip-tests commit: 7eba742c66]
2016-04-11 07:58:59 -05:00
Ben Sander 9c9047deb2 P2p checkpoint.
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
  as a peer)
- device peerlist always includes self, so when we call allow_access
  we never remove self access.
- hipDeviceReset() removes old peer mappings.


[ROCm/hip-tests commit: c161c1ba9b]
2016-04-11 07:58:59 -05:00
Ben Sander 41adba3869 Remove stray debug msgs, hipInfo don't print self as peer.
[ROCm/hip-tests commit: 565300acb0]
2016-04-11 07:58:58 -05:00
Ben Sander 1bc31374a1 Print peers in hipConfig.
Also include peer APIs in vim hilighting.


[ROCm/hip-tests commit: 4fca0a1bdf]
2016-04-11 07:58:58 -05:00
Aditya Atluri 0d32a4fecb corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
[ROCm/hip-tests commit: 0155e5b879]
2016-03-06 08:31:04 -06:00
Ben Sander 4d58d5e7cf fixes for titan platform
[ROCm/hip-tests commit: 2fb97ae4d8]
2016-02-26 05:25:30 -06:00
Evgeny Mankov 7af6946c0e Attribute hipDeviceAttributeIsMultiGpuBoard for obtaining Device property isMultiGpuBoard is added.
On HIP path property obtaining done through hsa_iterate_agents and counting the devices of HSA_DEVICE_TYPE_GPU type.

P.S.
On multi-boards systems it might be problems with detection what board a GPU plugged into (not tested).


[ROCm/hip-tests commit: 11b75c38de]
2016-02-25 23:44:39 +03:00
Evgeny Mankov 71c61a600e Guard #ifdef USE_ROCR_20 is added for ROCR_20 device properties (memoryClockRate, memoryBusWidth)
By default isn't defined.
To add ROCR_20 support HIP have to be compiled as follows: make CXX_DEFINES+=-DUSE_ROCR_20


[ROCm/hip-tests commit: bdb6c4f423]
2016-02-19 13:27:03 +03:00
Evgeny Mankov e491a659fe Device property memoryBusWidth implementation.
+ Device property memoryBusWidth is added to hipDeviceProp_t struct.
+ Device attribute hipDeviceAttributeMemoryBusWidth is added to hipDeviceAttribute_t struct.
+ Tests update.


[ROCm/hip-tests commit: 83612db41b]
2016-02-18 18:15:01 +03:00
Evgeny Mankov 00ce9647c7 Device property memoryClockRate implementation.
+ Device property memoryClockRate is added to hipDeviceProp_t struct.
+ Device attribute hipDeviceAttributeMemoryClockRate is added to hipDeviceAttribute_t struct.
+ Tests update.
+ Rename hipDevAttrConcurrentKernels to hipDeviceAttributeConcurrentKernels.


[ROCm/hip-tests commit: 383310d9d0]
2016-02-18 17:25:28 +03:00
Evgeny Mankov 7ac40d9ca5 hipInfo sample update with new Device Properties.
[ROCm/hip-tests commit: ff22a6eb28]
2016-02-18 15:08:55 +03:00
Evgeny Mankov d2a67588d0 Formatting, no functional changes.
[ROCm/hip-tests commit: 12fcf1d0ff]
2016-02-15 13:16:05 +03:00
Aditya Avinash Atluri b1bf6de48e Corrected compilation error
[ROCm/hip-tests commit: 6e2721890a]
2016-01-26 10:40:06 -05:00
Ben Sander d49392904a Initial commit for GPUOpen Launch
[ROCm/hip-tests commit: 4eafc92922]
2016-01-26 20:14:33 -06:00