Jatin Chaudhary
24b997119f
Updating the gcnArchName to now have target id
...
Change-Id: Ibd5576e0fb5b46e8f212de4ec57cd96eb1d3c157
2020-12-09 01:22:08 -05:00
Vladislav Sytchenko
63167e4b70
Report maxTexture1DLinear property
...
Change-Id: If562bbee80d8b98712806cb8258b5a7482d33bf6
2020-11-20 10:18:20 -05:00
German Andryeyev
15ba5611ba
Report managed memory capabilities
...
Change-Id: I241a42e26ee49fb47dcb3ba87c4bd8fb691dffdf
2020-10-13 16:09:43 -04:00
Vladislav Sytchenko
d5aa0f607d
Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
...
This reverts commit 9142674ef0 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko
9142674ef0
Revert "Merge branch 'amd-master-next' into amd-npi-next"
...
This reverts commit d7c02619d6 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
2020-10-05 13:02:39 -04:00
agodavar
3c9bbc335a
SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation
...
Change-Id: Iec989787e546ff2eb68c4b146dc540655698b569
2020-09-24 12:18:06 -04:00
Jason Tang
8933c078f6
Add asicRevision
...
Change-Id: I59f3ad20b9bdadf77bd1e0725f7a401d7ad423a3
2020-06-16 17:54:20 -04:00
Jason Tang
14c699e9de
SWDEV-227909 - Add gcnArchName
...
Change-Id: Iea6d16b5d693dd0d900fa424d7a321c39315430e
2020-06-05 15:33:55 -04:00
Alex Xie
044a7e55ad
SWDEV-221166 - Detect support for large bar access through HIP runtime API
...
Change-Id: Iaa9756c1b5e40c1ab5afb38e44a6699fa5f6c13f
2020-05-01 20:39:52 -04:00
Maneesh Gupta
0ea6697192
Merge branch 'amd-master' into amd-master-next
...
Change-Id: I3094c15008093f2072bcd38aca4ea90aeae2d97b
2020-04-09 06:31:00 -04:00
German Andryeyev
8be723e199
SWDEV-184710
...
Support hipLaunchCooperativeKernelMultiDevice()
- Add validation logic for MGPU launches to pass a cuda test
Change-Id: Iccca7fde43493fc3bc6685512d39202271ae3e92
2020-04-06 16:38:27 -04:00
Aryan Salmanpour
6db9b782be
[HIP][HIPIFY] Add some missing flags for cooperative launch and occupancy APIs
2020-01-30 15:05:53 -05:00
vsytch
6da0c82b78
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.
2020-01-27 16:37:00 -08:00
Maneesh Gupta
c091635f5a
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 cf526f5484 .
- Revert "Fix rocFFT build failure (#1777 )"
This reverts commit cbd8f604ec .
2020-01-08 15:11:58 +05:30
Evgeny Mankov
ed43699a3a
Merge pull request #1759 from emankov/master
...
[HIP] Unify hipError_t (Step 2)
2019-12-30 19:21:09 +03:00
Alex Voicu
cf526f5484
static inline in a header, just like excess sugar in a diet, causes bloat (#1692 )
2019-12-23 19:09:38 +05:30
Evgeny Mankov
4d29423705
[HIP] Fix typo
2019-12-23 12:06:44 +03:00
Evgeny Mankov
9ae76609a1
[HIP] Unify hipError_t (Step 2)
...
Step 2. Make a few hipError codes deprecated
Update hipify-clang, hipify-perl, docs and samples accordingly
2019-12-22 02:05:31 +03:00
Evgeny Mankov
21b0f64f3a
[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
2019-12-13 19:40:16 +03:00
Sarbojit2019
db4c0c0811
[HIP] Add tccDriver info in hipDeviceProp
...
Fixes #1433 .
2019-09-26 13:53:33 +05:30
ansurya
e2a934f377
Added new device attributes ( #1377 )
...
* Added new device attributes
* updated comment
* updated with new device attributes supported
2019-09-16 08:31:30 +00:00
Rahul Garg
971a64c6b9
Enable temporarily disabled device properties on HIP/VDI
2019-08-06 22:03:19 -04:00
Sarbojit2019
f23c1a1499
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
2019-08-05 09:51:36 +00:00
wkwchau
abe6776677
Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttribu… ( #1238 )
...
* Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttributeHdpRegFlushCntl
* Added NVCC blocker for the hip*FlushCntl test cases
2019-08-01 16:03:35 +00:00
Yaxun (Sam) Liu
13301398d8
Temporarily disable maxTexture1D in hipDeviceProp_t for VDI ( #1237 )
2019-07-19 15:38:32 +00:00
ansurya
00aa42e05f
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
2019-07-18 03:18:50 +00:00
Maneesh Gupta
4af81134ba
Header changes for cooperative groups
...
Change-Id: I5f3acca94275d74adc97adcb168aed9f74951189
2019-05-28 16:58:55 +05:30
Rahul Garg
94769fc8dd
Add hipMallocManaged default functional support ( #1036 )
...
* Add hipMallocManaged default functional support
* Fix build error
* Add dtest
2019-04-24 16:50:03 +05:30
Wen-Heng (Jack) Chung
f4e1f74e9e
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.
2019-02-11 09:33:15 -06:00
Evgeny Mankov
4e0d07f07a
[HIPIFY] Support of cudaComputeMode / CUcomputemode
...
+ update docs
+ fix typo in hip_runtime_api.h
2018-07-14 16:08:19 +03:00
Aaron Enye Shi
c73cd64f5b
Add HIP Compute Mode
2018-06-22 14:37:19 +00:00
Rahul Garg
94f086e9cd
Add integrated device property
2018-06-02 13:11:16 +05:30
Yaxun (Sam) Liu
eeedfc5567
Add __assert_fail, __device_trap and hipErrorAssert for clang
2018-05-08 15:42:27 -04:00
Rahul Garg
720e209366
Fix gcc build issues for host code
2018-04-25 12:30:11 +05:30
Maneesh Gupta
9e47fccc89
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Rahul Garg
38029f2849
Fixed review comments
2017-11-21 21:19:06 +05:30
Rahul Garg
1851c153f6
Texture driver APIs support
2017-11-09 22:10:55 +05:30
Chris Kitching
939fa02ade
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.
2017-10-19 13:34:02 +01:00
wsttiger
7933b3292d
Add missing CUDA tags
2017-08-15 13:22:20 -05:00
Rahul Garg
a7c727f352
Fixed hipDeviceGetPCIBusId for HIP/HCC
...
Change-Id: I3688fa2476e1baada2d3c5fc3735cec3f15a1e21
2017-06-28 23:48:27 +05:30
Ben Sander
8dc968f036
Updates so hip compiles on CUDA.
2017-05-27 15:55:07 -05:00
Evgeny Mankov
ae9f14ef9c
[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.
2017-05-19 17:22:14 +03:00
Aditya Atluri
3859f59189
Fixed copyright and header names
...
Change-Id: Id595c65ea3b7289e87be4c42db5d8a31905a4fdd
2017-03-31 12:40:29 -05:00
Aditya Atluri
1cead6a4cd
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
2017-03-31 12:11:34 -05:00
Aditya Atluri
9f575721aa
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
2017-03-07 11:24:32 -06:00
Aditya Atluri
7dbf63dde2
changed copyright year from 2016 to 2017 in include directory
...
Change-Id: Ib5935a84fb51a04b3446df31cc2287101f791b83
2017-01-11 18:09:33 -06:00
Rahul Garg
090eadd0bd
Added state for hipDevice.
...
Change-Id: Idbc3c04cd054a01b634856a1e0a23ff172e991aa
2017-01-09 23:54:01 +05:30
pensun
7ac5f2e8c3
HIP IPC implementation on ROCr IPC APIs
...
Change-Id: I1ca9d520f5d0b1b56694211471b81eb7c6c23d16
2016-12-07 15:38:36 -06:00
pensun
7a0375854a
Add workaround for hipStreamAddCallback function: call stream synchronize on host and then add execute the call back function
...
Change-Id: If361f8e053949904b19b9e09245d267f05e29f7b
2016-10-22 23:59:39 -05:00
Maneesh Gupta
a34090e9c5
include headers: Update copyright header and fix line endings
...
Change-Id: If2b0855f4ebf1e966edb54de5667687d154cc574
2016-10-15 22:52:10 +05:30