Jatin Chaudhary
c5feb4d862
Updating the gcnArchName to now have target id
...
Change-Id: Ibd5576e0fb5b46e8f212de4ec57cd96eb1d3c157
[ROCm/clr commit: 24b997119f ]
2020-12-09 01:22:08 -05:00
Vladislav Sytchenko
07f463ab3f
Report maxTexture1DLinear property
...
Change-Id: If562bbee80d8b98712806cb8258b5a7482d33bf6
[ROCm/clr commit: 63167e4b70 ]
2020-11-20 10:18:20 -05:00
German Andryeyev
e343bc4b00
Report managed memory capabilities
...
Change-Id: I241a42e26ee49fb47dcb3ba87c4bd8fb691dffdf
[ROCm/clr commit: 15ba5611ba ]
2020-10-13 16:09:43 -04:00
Vladislav Sytchenko
7b635ae18c
Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
...
This reverts commit 0627e8783b .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
[ROCm/clr commit: d5aa0f607d ]
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko
0627e8783b
Revert "Merge branch 'amd-master-next' into amd-npi-next"
...
This reverts commit 6c6299acb2 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
[ROCm/clr commit: 9142674ef0 ]
2020-10-05 13:02:39 -04:00
agodavar
dc55fb39c0
SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation
...
Change-Id: Iec989787e546ff2eb68c4b146dc540655698b569
[ROCm/clr commit: 3c9bbc335a ]
2020-09-24 12:18:06 -04:00
Jason Tang
ab081f39cc
Add asicRevision
...
Change-Id: I59f3ad20b9bdadf77bd1e0725f7a401d7ad423a3
[ROCm/clr commit: 8933c078f6 ]
2020-06-16 17:54:20 -04:00
Jason Tang
7735b228ec
SWDEV-227909 - Add gcnArchName
...
Change-Id: Iea6d16b5d693dd0d900fa424d7a321c39315430e
[ROCm/clr commit: 14c699e9de ]
2020-06-05 15:33:55 -04:00
Alex Xie
c9e54b7f60
SWDEV-221166 - Detect support for large bar access through HIP runtime API
...
Change-Id: Iaa9756c1b5e40c1ab5afb38e44a6699fa5f6c13f
[ROCm/clr commit: 044a7e55ad ]
2020-05-01 20:39:52 -04:00
Maneesh Gupta
e5ee180568
Merge branch 'amd-master' into amd-master-next
...
Change-Id: I3094c15008093f2072bcd38aca4ea90aeae2d97b
[ROCm/clr commit: 0ea6697192 ]
2020-04-09 06:31:00 -04:00
German Andryeyev
abc3e6df5c
SWDEV-184710
...
Support hipLaunchCooperativeKernelMultiDevice()
- Add validation logic for MGPU launches to pass a cuda test
Change-Id: Iccca7fde43493fc3bc6685512d39202271ae3e92
[ROCm/clr commit: 8be723e199 ]
2020-04-06 16:38:27 -04:00
Aryan Salmanpour
2733df36b5
[HIP][HIPIFY] Add some missing flags for cooperative launch and occupancy APIs
...
[ROCm/clr commit: 6db9b782be ]
2020-01-30 15:05:53 -05:00
vsytch
4162b55dbe
Add missing texturePitchAlignment member to the hipDeviceProp_t struct. ( #1802 )
...
* Add missing texturePitchAlignment member to the hipDeviceProp_t struct.
* Add missing hipDeviceAttributeTexturePitchAlignment enumerator to the hipDeviceAttribute_t enum.
* Initialize texturePitchAlignment to 256. This works for gfx9+, but is technically overaligned in most cases for pre-gfx9.
* Add the texturePitchAlignment property to the NVCC path.
[ROCm/clr commit: 6da0c82b78 ]
2020-01-27 16:37:00 -08:00
Maneesh Gupta
d814f1e292
Revert PRs that break ROCm builds ( #1781 )
...
Fixes SWDEV-218626 and SWDEV-218629
Changes:
- Revert "`static inline` in a header, just like excess sugar in a diet, causes bloat (#1692 )"
This reverts commit 47725baf8c .
- Revert "Fix rocFFT build failure (#1777 )"
This reverts commit f7bac3e057 .
[ROCm/clr commit: c091635f5a ]
2020-01-08 15:11:58 +05:30
Evgeny Mankov
8c58286a9b
Merge pull request #1759 from emankov/master
...
[HIP] Unify hipError_t (Step 2)
[ROCm/clr commit: ed43699a3a ]
2019-12-30 19:21:09 +03:00
Alex Voicu
47725baf8c
static inline in a header, just like excess sugar in a diet, causes bloat (#1692 )
...
[ROCm/clr commit: cf526f5484 ]
2019-12-23 19:09:38 +05:30
Evgeny Mankov
07db042750
[HIP] Fix typo
...
[ROCm/clr commit: 4d29423705 ]
2019-12-23 12:06:44 +03:00
Evgeny Mankov
e25a6a39a3
[HIP] Unify hipError_t (Step 2)
...
Step 2. Make a few hipError codes deprecated
Update hipify-clang, hipify-perl, docs and samples accordingly
[ROCm/clr commit: 9ae76609a1 ]
2019-12-22 02:05:31 +03:00
Evgeny Mankov
6c0241f539
[HIP] Unify hipError_t (Step 1)
...
Step 1. Set the same values for RT error codes as for analogous Driver's
[Reason] RT's and Driver's error codes unification in CUDA 10.2
[ROCm/clr commit: 21b0f64f3a ]
2019-12-13 19:40:16 +03:00
Sarbojit2019
3ef2e123bb
[HIP] Add tccDriver info in hipDeviceProp
...
Fixes #1433 .
[ROCm/clr commit: db4c0c0811 ]
2019-09-26 13:53:33 +05:30
ansurya
4436a38e65
Added new device attributes ( #1377 )
...
* Added new device attributes
* updated comment
* updated with new device attributes supported
[ROCm/clr commit: e2a934f377 ]
2019-09-16 08:31:30 +00:00
Rahul Garg
b75cd71dd4
Enable temporarily disabled device properties on HIP/VDI
...
[ROCm/clr commit: 971a64c6b9 ]
2019-08-06 22:03:19 -04:00
Sarbojit2019
55fa6a83c6
Enabled gcc for hip host code ( #1214 )
...
* Enabled gcc for hip host code
* Adding tests for hip code + (gcc & g++), without kernels
* Excluding nvcc platforms for gcc and g++ tests + Addressing review comments
* minor code clean-up
* Add rocm include path
* Added relative path for library
* Hiding non supported functions for gcc
* Incorporating review comments
[ROCm/clr commit: f23c1a1499 ]
2019-08-05 09:51:36 +00:00
wkwchau
75f1bb21b3
Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttribu… ( #1238 )
...
* Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttributeHdpRegFlushCntl
* Added NVCC blocker for the hip*FlushCntl test cases
[ROCm/clr commit: abe6776677 ]
2019-08-01 16:03:35 +00:00
Yaxun (Sam) Liu
16632b627c
Temporarily disable maxTexture1D in hipDeviceProp_t for VDI ( #1237 )
...
[ROCm/clr commit: 13301398d8 ]
2019-07-19 15:38:32 +00:00
ansurya
8b8946f78b
Add Max Texture 1D,2D,3D device properties ( #1226 )
...
* Add Max Texture 1D,2D,3D device properties
* Corrected testcase to use enums defined in hipDeviceAttribute_t
* Added texture 1D,2D and 3D support for NVIDIA path
[ROCm/clr commit: 00aa42e05f ]
2019-07-18 03:18:50 +00:00
Maneesh Gupta
b70b2c4e9d
Header changes for cooperative groups
...
Change-Id: I5f3acca94275d74adc97adcb168aed9f74951189
[ROCm/clr commit: 4af81134ba ]
2019-05-28 16:58:55 +05:30
Rahul Garg
d69edbbb7f
Add hipMallocManaged default functional support ( #1036 )
...
* Add hipMallocManaged default functional support
* Fix build error
* Add dtest
[ROCm/clr commit: 94769fc8dd ]
2019-04-24 16:50:03 +05:30
Wen-Heng (Jack) Chung
26e7f98be3
Introduce __HIP_DISABLE_CPP_FUNCTIONS__ macro to disable C++ wrappers
...
hipMalloc and hipHostMalloc are C++ function templates by default. In some
applications they need to discover the decltype of underlying C functions. In
this commit, a new macro __HIP_DISABLE_CPP_FUNCTIONS__ is introduced to
suppress the C++ function templates.
Existing HIP applications don't need to be changed. hipMalloc and hipHostMalloc
will behave just the same.
For new applications which depends on identifying decltypes of underlying C
functions, __HIP_DISABLE_CPP_FUNCTIONS__ shall be defined prior to including
HIP headers.
[ROCm/clr commit: f4e1f74e9e ]
2019-02-11 09:33:15 -06:00
Evgeny Mankov
3a45d7016c
[HIPIFY] Support of cudaComputeMode / CUcomputemode
...
+ update docs
+ fix typo in hip_runtime_api.h
[ROCm/clr commit: 4e0d07f07a ]
2018-07-14 16:08:19 +03:00
Aaron Enye Shi
4ad4f6a489
Add HIP Compute Mode
...
[ROCm/clr commit: c73cd64f5b ]
2018-06-22 14:37:19 +00:00
Rahul Garg
065f0d8d8c
Add integrated device property
...
[ROCm/clr commit: 94f086e9cd ]
2018-06-02 13:11:16 +05:30
Yaxun (Sam) Liu
cd2b1f1baf
Add __assert_fail, __device_trap and hipErrorAssert for clang
...
[ROCm/clr commit: eeedfc5567 ]
2018-05-08 15:42:27 -04:00
Rahul Garg
f932a51c8e
Fix gcc build issues for host code
...
[ROCm/clr commit: 720e209366 ]
2018-04-25 12:30:11 +05:30
Maneesh Gupta
46ddefedee
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/clr commit: 9e47fccc89 ]
2018-03-12 11:29:03 +05:30
Rahul Garg
212afdf56b
Fixed review comments
...
[ROCm/clr commit: 38029f2849 ]
2017-11-21 21:19:06 +05:30
Rahul Garg
bb8c31c198
Texture driver APIs support
...
[ROCm/clr commit: 1851c153f6 ]
2017-11-09 22:10:55 +05:30
Chris Kitching
c3f743a763
Add [[nodiscard]] attribute to hipError_t in C++17 mode
...
This will yield a compiler warning any time you discard an error
return value from an API call.
[ROCm/clr commit: 939fa02ade ]
2017-10-19 13:34:02 +01:00
wsttiger
5ba2f6ea57
Add missing CUDA tags
...
[ROCm/clr commit: 7933b3292d ]
2017-08-15 13:22:20 -05:00
Rahul Garg
1ff995a92a
Fixed hipDeviceGetPCIBusId for HIP/HCC
...
Change-Id: I3688fa2476e1baada2d3c5fc3735cec3f15a1e21
[ROCm/clr commit: a7c727f352 ]
2017-06-28 23:48:27 +05:30
Ben Sander
9442c6dd2d
Updates so hip compiles on CUDA.
...
[ROCm/clr commit: 8dc968f036 ]
2017-05-27 15:55:07 -05:00
Evgeny Mankov
052f630bd3
[HIP] [HIPIFY] [FIX] cuModuleLoadDataEx -> hipModuleLoadDataEx
...
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/81
1. Do not use JIT options on HCC path, call hipModuleLoadData instead.
2. NVCC path is unchanged, to call cuModuleLoadDataEx with all options.
3. Get rid of manual hipification, based on #ifdef #else for NVCC/HIP.
4. Update documentation accordingly.
[ROCm/clr commit: ae9f14ef9c ]
2017-05-19 17:22:14 +03:00
Aditya Atluri
e3d3cacebc
Fixed copyright and header names
...
Change-Id: Id595c65ea3b7289e87be4c42db5d8a31905a4fdd
[ROCm/clr commit: 3859f59189 ]
2017-03-31 12:40:29 -05:00
Aditya Atluri
3651cb672a
added new api hipHccModuleLaunchKernel
...
1. hipHccModuleLaunchKernel is same as hipModuleLaunchKernel with OpenCL workitem model
2. Added copy right
3. Fixed header naming
Change-Id: I6a7c35a3566e2f8d3f5056613e34193775d4b236
[ROCm/clr commit: 1cead6a4cd ]
2017-03-31 12:11:34 -05:00
Aditya Atluri
106030f2c6
added new field to hipDeviceProp_t structure gcnArch.
...
1. It is an integer containing gfx values 701, 801, 802, 803
2. On NV path, it is zero
Change-Id: I2b4c7f48981d0214d8c6b1905d2cc85b16203419
[ROCm/clr commit: 9f575721aa ]
2017-03-07 11:24:32 -06:00
Aditya Atluri
ba96b2f6c8
changed copyright year from 2016 to 2017 in include directory
...
Change-Id: Ib5935a84fb51a04b3446df31cc2287101f791b83
[ROCm/clr commit: 7dbf63dde2 ]
2017-01-11 18:09:33 -06:00
Rahul Garg
0aabd435a9
Added state for hipDevice.
...
Change-Id: Idbc3c04cd054a01b634856a1e0a23ff172e991aa
[ROCm/clr commit: 090eadd0bd ]
2017-01-09 23:54:01 +05:30
pensun
0d8957fb9a
HIP IPC implementation on ROCr IPC APIs
...
Change-Id: I1ca9d520f5d0b1b56694211471b81eb7c6c23d16
[ROCm/clr commit: 7ac5f2e8c3 ]
2016-12-07 15:38:36 -06:00
pensun
b0a039cd5e
Add workaround for hipStreamAddCallback function: call stream synchronize on host and then add execute the call back function
...
Change-Id: If361f8e053949904b19b9e09245d267f05e29f7b
[ROCm/clr commit: 7a0375854a ]
2016-10-22 23:59:39 -05:00
Maneesh Gupta
96ce4c8e2c
include headers: Update copyright header and fix line endings
...
Change-Id: If2b0855f4ebf1e966edb54de5667687d154cc574
[ROCm/clr commit: a34090e9c5 ]
2016-10-15 22:52:10 +05:30