Commit graph

348 Commits

Autor SHA1 Nachricht Datum
TomSang 5c8af57480 SWDEV-303204 - Disable texture/image Apis on some devices. (#2381)
Modify texture tests to pass on devices that don't support texture.
Add hipDeviceAttributeImageSupport to check image support in runtime

Change-Id: Ia89c494e651a6198a24448b59a91e046a9ebea38
2021-12-02 11:46:13 +05:30
Julia Jiang a31e7242bd SWDEV-306204 - update disclaimer and add link for hipRTC document (#2418)
Change-Id: I0af09620a4934cf8009833bba3041046cd34709f
2021-11-26 04:50:16 +05:30
Julia Jiang 049a9454e9 SWDEV-306204 - port obj-tooling.md as corrected in 4.5 release (#2405)
Change-Id: I24f59ae10ac631bee8da0ea5ee43ef17751a03cf
2021-11-25 15:13:43 +05:30
Aakanksha Patil 6902f11835 SWDEV-309659 - Delete duplicate files - hipify-perl and helper scripts (#2403)
* Delete duplicate files - hipify-perl and helper scripts
* Update link for hipconvertinplace-perl.sh references
* Remove remaining references to hipify-clang and contents of its package
* Hyperlink hipexamine-perl.sh in docs/markdown/hip_porting_guide.md
2021-11-25 15:12:09 +05:30
Julia Jiang 9b7645575f SWDEV-306204 - remove external reference in hip_bugs.md (#2394)
Change-Id: I7425eba1cd20a2f842479d0eb050f97e21e457c1
2021-11-25 15:10:31 +05:30
Julia Jiang 2312cf8ad3 SWDEV-302172 - update Coherenty control in HIP programming (#2353)
Change-Id: I5ec4e2afd8b3759ded954d0de7486fdf51a412b5
2021-09-20 12:13:40 +05:30
Julia Jiang c2ce476d09 SWDEV-300860 - Add summary of HIP environment variables in hip_debugging.md (#2352)
Change-Id: Id36dce73346fa5a3259257c78f0cf289f9b9f41a
2021-09-20 12:13:01 +05:30
Julia Jiang 346117774c SWDEV-291894 - Update the launch bounds error message and version note in FAQ (#2335)
Change-Id: I5b876e80c69d3e04fec92bc3eb995fcd3e94edcd
2021-09-14 13:35:51 +05:30
Julia Jiang c2be66db76 SWDEV-286322 - remove unnecessary executable permission (#2323)
Change-Id: I61674df72bc1d42d4e0d56bf66f08abe85269697
2021-08-25 16:57:22 -07:00
René Widera 7eaa45d2d5 fix documentation for popcll (#2309)
Change return type from int to unsigned int.
It is correctly documented in hip-math-api.md but not at the place where this PR is updating the documentation.
2021-08-19 10:27:51 +05:30
jujiang 5bcd842486 SWDEV-288929 - update document for the flag __HIP_USE_CMPXCHG_FOR_FP_ATOMICS
Change-Id: If7027d6a63c524e4c829288fe794258c7ecbf064
2021-07-28 20:16:54 -04:00
jujiang 5d6ed58dcb SWDEV-288929 - add HIP version in FAQ
Change-Id: I260133a95e484919a362106e1bd36715358247f2
2021-07-28 12:47:51 -04:00
jujiang 992b7a56a5 SWDEV-288929 - Update HIP documents
Change-Id: Ic633e6783162a1e697597a1e077d814c23ceaa07
2021-07-22 13:06:48 -04:00
Tao Sang 586165ebc2 SWDEV-294588 - Enable NV printf DTests
Enable NV printf DTests as many as possible.
Fix the bugs due to behavour difference between
Hip-Rocclr and Cuda.
Add hipLimitPrintfFifoSize.

Change-Id: I3fe6dbc35a7a140a9919df197b7885df83d28049
2021-07-20 21:22:11 -04:00
Jatin Chaudhary b337a5586b SWDEV-283267 - Add rtc document and remove hip header from tests
Change-Id: I43a23384ab70128ccd7f41204f796105576cd604
2021-07-14 11:00:38 -04:00
jujiang fec4b0fa91 SWDEV-288929 - Add Direct Dispatch HIP doc
Change-Id: I083ce53d0d67b20a621a94ca25e5f9032d69b30a
2021-06-30 16:51:57 -04:00
Sarbojit Sarkar f59c5548ed SWDEV-284435 - Fixed latest CUDA Drv support doc
Change-Id: Iba172236c4816fdc5c5caad763be0a9fd51e6f58
2021-06-25 12:20:11 -04:00
Julia Jiang 3f503283e1 SWDEV-288929 - Add hiprtc support in programming guide
Change-Id: I22d69801bbb36b610c855657a7248c24b9981b80
2021-06-18 19:57:16 -04:00
Scott Linder 17c3469cf6 SWDEV-229776 - Add bin/roc-obj
Change-Id: If4449d7c47b72e437aaca71ae64ea37d202e2b18
2021-06-11 16:29:20 -04:00
jujiang d8b2571d47 SWDEV-288929 - Add atomic system functions in HIP doc
Change-Id: Ic9ec276c1c486c4e1d3b83e1578081673f97efa2
2021-06-07 18:00:24 -04:00
jujiang 52b4faef3b SWDEV-279885 - correct HIP doc for managed memory
Change-Id: I94bb307dbe12692eb60cce744424fb18deea28ba
2021-06-03 11:05:18 -04:00
Jatin Chaudhary f7a2758bdf SWDEV-280067 - Document hipErrorNoBinaryForGpu error in hip faq
Change-Id: Ie8cab47ecac5a1b0972041d6e3e58e4fca278c41
2021-05-25 15:14:08 +05:30
Julia Jiang 4549478f52 SWDEV-282350 - Add managed memory support in HIP document
Change-Id: Iea4479058b4c40c36d71c9302834396a4088ac6f
2021-05-11 16:04:46 -04:00
Julia Jiang ba1c5a955a SWDEV-282350 - update HIP documents
Change-Id: Iff3a49e75279b1ecee0672a6d35f6b84a8256296
2021-05-07 12:38:13 -04:00
Julia Jiang b4158d2bc0 SWDEV-282350 - Adding hip_debugging
Change-Id: I18f52a76f88bcd3a0628030a6798d546a3973f4d
2021-05-06 11:48:52 -04:00
Aaron En Ye Shi cfcf04d502 SWDEV-222423 - Add HIP Sample 2_Cookbook/15_static_library
HIP supports emitting two types of static libraries. One type
will export host functions and is compatible with host linkers.
The second type exports device functions, but is generated with
ar manually. Also, add a README with steps on how to run these
samples with Makefile or CMake.

Change-Id: I1be15c2884583b370092bc8e4bf04f726f8f5a27
2021-04-27 16:05:15 -04:00
Julia Jiang a3fd92ba5f SWDEV-208837 - add host allocation Numa aware
Change-Id: I9516b1a7411695d22038e0a3657822ee453ed709
2021-04-27 10:45:57 -04:00
Julia Jiang 171551ea8a SWDEV-270961 - Update hip_programming_guide.md for event handling
Change-Id: Ieadac9972e5ee13c05ccb42a679866f494f96f47
2021-04-16 12:14:25 -04:00
Julia Jiang 865ecc64af SWDEV-270961 - Update HIP FAQ.md
Change-Id: I34b03692edd9e6bc424a3ee615d21cb226aa86cf
2021-04-08 14:13:13 -04:00
Julia Jiang d8f123eed7 SWDEV-270961 - update HIP documents
Change-Id: I5168d83a124e9c7d856fb7a46d9960d9f99143c6
2021-04-05 14:34:33 -04:00
Tao Sang 38b0c952a6 SWDEV-273943 - Enable runtimeApi.event dtest
Add device_id_ in hip::event to match cuda behaviour in
hipEventQuery() and hipEventRecord().
Enable hipEventElapsedTime test on AMD platform.
Workarround sporadic crash of hipEventIpc test due to
some bug of event ipc.
Add missing hipEventDestroy() in some event tests.
Fix some logic code errors.
Fix typo in comment.

Change-Id: I9ec74c475161b3e31df48d193449023e921f2924
2021-03-16 17:12:08 -04:00
Julia Jiang 066fa459bb SWDEV-270961 - Update HIP documents
Change-Id: Iba88d78456b9b190c2af92ca696777e459e4acb0
2021-03-05 16:07:38 -05:00
Tao Sang b504a9bfae SWDEV-270973 - Add missing copyright headers
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe
2021-03-01 19:46:24 -05:00
Julia Jiang d32367a1d8 SWDEV-272921, SWDEV-270961 - correct index and linkage
Change-Id: I48a66091bb6f304864e282bd03e9eb748fa04da7
2021-03-01 16:07:00 -05:00
jujiang 6084d0da2d SWDEV-265003 - update HIP document
Change-Id: I1e8ec3ad380330b48d164a2ca60b0a70f7e54ae6
2021-01-20 16:24:20 -05:00
David Salinas cb859b7263 add new code object tooling: roc-obj-ls and roc-obj-extract
SWDEV-229776

Change-Id: Icb11c4552515d3eff3bcf303c4a470ab90d1dd58
2021-01-14 14:45:46 -05:00
jujiang e3ec98f6e2 SWDEV-265003-Update HIP documents
Change-Id: I3aea36f9a817ff0d2a379fc902b1ba7794f9736e
2021-01-13 17:55:16 -05:00
Tao Sang b34dd95124 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
2021-01-08 10:53:34 -05:00
Tao Sang c2adc70d4d 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
2021-01-05 10:39:31 -05:00
jujiang 021bb7fc61 SWDEV-265003-Fix hip faq
Change-Id: Ifd29fd9c20ecc905c63fa39fd0768eaca3953aac
2020-12-18 12:21:36 -05:00
Yaxun (Sam) Liu fe70aa4930 Update documentation for supported clang options
Change-Id: I5d7017cd5c4335959fe5bae322e90aa46cdbc672
2020-12-01 12:00:10 -05:00
Siu Chi Chan 5df9b3d7cc Update HIP docs
Purge all obsoleted information that is only relevant to HCC

Change-Id: Ice6ae174a73ccac9dfe2ca05027d1ecdb32558d7
2020-11-27 14:48:09 -05:00
Konstantin Zhuravlyov c4beefe00b SWDEV-198415 - Implement Target ID Proposal
Changes from Jatin Chaudhary, Tony Tye

Change-Id: I14904920ad2356ae2098cf827b83613089d33962
2020-11-10 13:31:43 -05:00
Sarbojit Sarkar a45f6f7ff3 Added sample with __gfx*__ macro used
Change-Id: I80a474947ea1b755082dad5329d1aff3ee78840c
2020-10-14 06:56:39 -04:00
Vladislav Sytchenko ad2d55c144 Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
This reverts commit 374ead1d19.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko 374ead1d19 Revert "Merge branch 'amd-master-next' into amd-npi-next"
This reverts commit 73558e3363.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
2020-10-05 13:02:39 -04:00
Sarbojit Sarkar 0be1f7843a SWDEV-252337: Fix for V100 compilation issue
Change-Id: Ib57ff3ac28f0a581f395f32181974e64eca6d858
2020-09-25 21:55:22 -04:00
Sarbojit Sarkar b1f79c9a33 Updated hip_porting_guide.md
Change-Id: Iaf32033597513aa2cbfde267487af35317ac67fe
2020-09-14 00:30:51 -04:00
Julia Jiang 66927332f5 SWDEV-249486-Update Doxygen configuration file to link correct documents
Change-Id: I2bbe2a0dedec2d182bd3108c3d5af04f3d8beed8
2020-09-11 16:45:07 -04:00
Todd tiantuo Li 99eb486937 SWDEV-240803 - add hipFuncSetSharedMemConfig
Change-Id: I160b04677b3e7b99b3981ae7ecc84a0e3811d5e8
2020-08-20 18:18:24 -04:00