agunashe
8d2e226266
SWDEV-1 - hip change for Windows applications hipInfo ( #2471 )
...
BLDSPPT-3818
Change-Id: I624786a0d79678fbd850f0b8bedc7314731a77f4
[ROCm/hip commit: 0284dfb3bd ]
2022-02-10 08:27:05 -08:00
Sarbojit2019
0431b2116a
SWDEV-306176 - Fix hipInfo sample for arch name showing junk values on some platform ( #2404 )
...
[ROCm/hip commit: de1e4a66c5 ]
2021-11-25 15:13:22 +05:30
ansurya
87d8b0ba1b
SWDEV-287830 - Remove hardcoding of /opt/rocm path from hip samples ( #2391 )
...
Change-Id: I4ffcb4d5afe329377aca63ae0a962c1dc567bfd8
[ROCm/hip commit: a0d32f5899 ]
2021-11-25 15:10:15 +05:30
agunashe
a4ff63a29b
SWDEV-293742 - Update copyright end year
...
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2
[ROCm/hip commit: d529637fbc ]
2021-07-07 12:57:23 -04:00
Tao Sang
ec1f689600
SWDEV-270973 - Add missing copyright headers
...
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe
[ROCm/hip commit: b504a9bfae ]
2021-03-01 19:46:24 -05:00
Tao Sang
2820f91c90
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 commit: b34dd95124 ]
2021-01-08 10:53:34 -05:00
Tao Sang
c618b6aeff
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 commit: c2adc70d4d ]
2021-01-05 10:39:31 -05:00
Vladislav Sytchenko
e4caaa2a77
Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
...
This reverts commit 28b17d3dbd .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
[ROCm/hip commit: ad2d55c144 ]
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko
28b17d3dbd
Revert "Merge branch 'amd-master-next' into amd-npi-next"
...
This reverts commit 258d79bca7 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
[ROCm/hip commit: 374ead1d19 ]
2020-10-05 13:02:39 -04:00
Tao Sang
be63180abe
Make samples support cmake
...
Only cmake can support static lib of hip rt.
Thus samples will support static lib of hip
rt when this is done.
Change-Id: I70e8d06e85084369a035b42c5d1d56287c874ac9
[ROCm/hip commit: 8f72a6993f ]
2020-09-18 07:37:02 -04:00
Jason Tang
671b994ff8
Add asicRevision
...
Change-Id: I59f3ad20b9bdadf77bd1e0725f7a401d7ad423a3
[ROCm/hip commit: 38cd2b96c7 ]
2020-06-16 17:54:20 -04:00
Jason Tang
67baf4f506
SWDEV-227909 - Add gcnArchName
...
Change-Id: Iea6d16b5d693dd0d900fa424d7a321c39315430e
[ROCm/hip commit: 1c0d737e1f ]
2020-06-05 15:33:55 -04:00
Alex Xie
376810dfcc
SWDEV-221166 - Detect support for large bar access through HIP runtime API
...
Change-Id: Iaa9756c1b5e40c1ab5afb38e44a6699fa5f6c13f
[ROCm/hip commit: d890d77da4 ]
2020-05-01 20:39:52 -04:00
Maneesh Gupta
4e1f6f2a0e
Merge branch 'amd-master' into amd-master-next
...
Change-Id: I3094c15008093f2072bcd38aca4ea90aeae2d97b
[ROCm/hip commit: 2af31479e2 ]
2020-04-09 06:31:00 -04:00
Sarbojit2019
ddb0d10703
Added missing device prop fields into hipInfo sample ( #1357 )
...
* Added prop.integrated into hipInfo sample
* Added missing deviceProp fileds in hipInfo
[ROCm/hip commit: 7257f23063 ]
2019-08-23 09:21:47 +00:00
chrispaquot
808356f88b
Set device before processing each one ( #1358 )
...
[ROCm/hip commit: 344d150bf8 ]
2019-08-23 09:19:50 +00:00
Evgeny Mankov
a6e82d8254
[HIP][tests] Copyright notice update
...
[ROCm/hip commit: c9af61e9d1 ]
2019-05-20 18:46:23 +03:00
Maneesh Gupta
4f42ee762d
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/hip commit: 1ba06f63c4 ]
2018-03-12 11:29:03 +05:30
Aditya Atluri
f7bfec2252
automate gcnarch detection
...
Change-Id: Ibbad22db136f7f5e2be84c82e9169298a144cc77
[ROCm/hip commit: 3e610ab0fe ]
2017-06-29 12:01:40 -05:00
Ben Sander
fcdaa05a4d
Print limits on CUDA devices
...
[ROCm/hip commit: 43635f51dc ]
2016-12-16 08:55:11 -06:00
Ben Sander
411cf6c80a
Print non-peers too
...
Change-Id: I2a6905edcdf144aa732ae3120c17780477f232ac
[ROCm/hip commit: 5832349e5e ]
2016-11-04 06:34:07 -05:00
Maneesh Gupta
92498c947b
samples: Updated copyright header
...
Change-Id: I821f514ced5e34d492cb167b65d7273e26ed7b84
[ROCm/hip commit: 501778898f ]
2016-10-15 23:05:04 +05:30
Maneesh Gupta
2dba960b07
samples: Updated to use new hip include path
...
Change-Id: I53a1385a17f13a997ea21d14315f15a3ad851dab
[ROCm/hip commit: 3a247efb2f ]
2016-10-04 22:21:10 +05:30
Ben Sander
13a12f65d5
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 commit: 1160cefc6d ]
2016-09-22 13:05:47 -05:00
Maneesh Gupta
b8cd64dec9
Fix makefiles in samples
...
[ROCm/hip commit: bcaefb81fc ]
2016-04-18 10:15:35 +05:30
Ben Sander
775e484517
fix peer query order
...
[ROCm/hip commit: e4d1863ce8 ]
2016-04-11 07:58:59 -05:00
Ben Sander
c964e3c75a
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 commit: 83f0de7806 ]
2016-04-11 07:58:59 -05:00
Ben Sander
80e2e37c51
Remove stray debug msgs, hipInfo don't print self as peer.
...
[ROCm/hip commit: d89539d40f ]
2016-04-11 07:58:58 -05:00
Ben Sander
c09e4adc03
Use HIP_PATH if set else use relative ../...
...
[ROCm/hip commit: 40e72dcd4a ]
2016-04-11 07:58:58 -05:00
Ben Sander
85f22fe7db
Print peers in hipConfig.
...
Also include peer APIs in vim hilighting.
[ROCm/hip commit: 0ac41ad143 ]
2016-04-11 07:58:58 -05:00
streamhsa
1d55744e91
change makefile for samples
...
[ROCm/hip commit: d0f0bf5c8e ]
2016-03-29 16:02:09 +08:00
Aditya Atluri
f1b8758919
corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
...
[ROCm/hip commit: d3ba2b9782 ]
2016-03-06 08:31:04 -06:00
Ben Sander
1ac07d2b87
fixes for titan platform
...
[ROCm/hip commit: ff66ef0779 ]
2016-02-26 05:25:30 -06:00
Evgeny Mankov
82900a1888
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 commit: 57e212606d ]
2016-02-25 23:44:39 +03:00
Evgeny Mankov
c3a600c63b
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 commit: 833c9e52ad ]
2016-02-19 13:27:03 +03:00
Evgeny Mankov
4fcd9f2542
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 commit: 1c19dbb807 ]
2016-02-18 18:15:01 +03:00
Evgeny Mankov
a0cc7134e3
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 commit: 5ea8543d2e ]
2016-02-18 17:25:28 +03:00
Evgeny Mankov
801ae992d6
hipInfo sample update with new Device Properties.
...
[ROCm/hip commit: 5b05a9fef1 ]
2016-02-18 15:08:55 +03:00
Evgeny Mankov
189e652a5e
Formatting, no functional changes.
...
[ROCm/hip commit: 072d649d8d ]
2016-02-15 13:16:05 +03:00
Aditya Avinash Atluri
ae7d13da30
Corrected compilation error
...
[ROCm/hip commit: 2d57a3dd0b ]
2016-01-26 10:40:06 -05:00
Ben Sander
97cf8b8ac9
Initial commit for GPUOpen Launch
...
[ROCm/hip commit: f38e63ff18 ]
2016-01-26 20:14:33 -06:00