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
Tao Sang
8f72a6993f
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
2020-09-18 07:37:02 -04:00
Dittakavi Satyanvesh
700474db6f
enable occupancy sample on HIP-Clang
...
Change-Id: I236daad743bbbc7f8daa41e8157a4ff73058518b
2020-05-19 03:08:19 -04:00
Rahul Garg
789cc01b58
Merge "Remove HIP_MARKER left overs due to HIP PR 2032" into amd-master-next
2020-05-07 01:36:57 -04:00
Rahul Garg
819677825f
Remove HIP_MARKER left overs due to HIP PR 2032
...
Change-Id: Ieae68dd3b12c92b1d6830619ca4c6ae43c400225
2020-05-06 20:26:18 -04:00
agodavar
56691fe7e6
SWDEV-233749 Added support for parallel build and link
...
Change-Id: Id227ea1fe7574612c33a8e6d91fc59a29490a35f
2020-05-06 14:54:39 -04:00
agodavar
1468982f8a
find_package(hip) changes for clang
...
Change-Id: I9dc1be1dd5f9424e26ebcd2961207e1c4467550f
2020-05-01 20:48:32 +00:00
root
2689246de6
Merge master into amd-master-next
...
Change-Id: I3fc1dc0c860d627053537581e75561e8a7efe327
2020-04-26 22:19:37 +00:00
Michael LIAO
74ba25602b
[vdi] Fix texture reference sample.
...
- The driver code should not re-define `tex` again as it's already
defined in the kernel code. Eventually, the driver code should be as
regular C++ code instad of HIP code.
Change-Id: I8c7cab204b98990619d6e7109b990d7089ea9261
2020-04-23 23:41:56 -04:00
Maneesh Gupta
a0b5dfd625
Merge in the rocclr based hip runtime ( #2032 )
...
* Merge master-next changes in master (include vdi development in master branch)
2020-04-23 09:12:06 -07:00
Michael LIAO
16d9fe5e37
[vdi] Refactor texture/surface reference support.
...
Change-Id: I8014d82aae7139ef5f95e4b50c4fc6da200dbc9d
2020-04-21 11:56:48 -04:00
Evgeny Mankov
ff8d193b7f
[HIP][doc] Update docs due to moving of HIPIFY to a separate repo ( #2001 )
2020-04-07 14:03:19 +05:30
Rahul Garg
ba8a556ea9
Rename hipDrvOccupancy to hipModuleOccupancy and match CUDA syntax ( #1943 )
2020-04-07 14:02:52 +05:30
Rahul Garg
6c5fa32815
Remove deprecated HIP markers ( #1876 )
2020-02-28 16:47:15 +05:30
Tao Sang
b3f445c0f5
Temporarily comment out Hcc-specific APIs for CLang compiler
...
Temporarily comment out Hcc-specific template functions
hipExtLaunchKernelGGL and hipOccupancyMaxPotentialBlockSize for CLang
compiler so that all test cases under hip/samples can be built
successfully for Clang + Hip/Hcc runtime.
Change-Id: Iafc761257be4a7b34eafa6759a01f369570cd6ce
2020-02-16 22:26:47 -05:00
Maneesh Gupta
f8e1c01900
Revert "Match Occupancy APIs syntax with CUDA ( #1625 )" ( #1857 )
...
Reverting this for now till we figure out how to avoid the build
breakage.
This reverts commit fa98798b63 .
2020-02-10 10:45:28 +05:30
Rahul Garg
8324258e6e
[docs] Fix links in cookbook samples ( #1824 )
2020-02-04 08:56:31 +05:30
satyanveshd
fa98798b63
Match Occupancy APIs syntax with CUDA ( #1625 )
...
* Match Occupancy APIs syntax with CUDA and fix tests using these APIs
2020-01-29 13:05:53 -08:00
Rahul Garg
579a4f36fa
Rename hip/hip_hcc.h to hip/hip_ext.h ( #1341 )
...
* Rename hip/hip_hcc.h to hip/hip_ext.h
* Deprecate hip_hcc.h
2019-11-07 13:17:10 +05:30
Rahul Garg
ba8105e0cd
Merge pull request #1515 from ansurya/tex_unbind_issue_fix
...
Fix undefined ref to hipUnbindTexture for texture types
2019-10-30 17:54:15 -07:00
Rahul Garg
e4a1e44162
Revert "Fix occupany APIs ( #1560 )"
...
This reverts commit af351d7e1b .
2019-10-29 11:41:08 -07:00
Anusha Godavarthy Surya
5f47e99ffe
merge from master
2019-10-25 15:52:09 +05:30
Rahul Garg
04e10814d8
Add HIP checks in texture driver sample ( #1581 )
2019-10-24 17:45:51 +05:30
satyanveshd
af351d7e1b
Fix occupany APIs ( #1560 )
...
Addresses SWDEV-205006
2019-10-24 17:44:47 +05:30
kjayapra-amd
fbb98f4950
Use the correct return type in runTest in 11_texture_driver sample. ( #1546 )
...
Fixes SWDEV-203394.
Currently in runTest() returns true, even if the texture reference copy does not happen. Using the existing testResult Flag to return from runTest().
2019-10-16 10:52:15 +05:30
Anusha Godavarthy Surya
d5b1e887e9
Added unbind texture to samples and tests
2019-10-15 11:34:15 +05:30
Yaxun (Sam) Liu
c404312ffe
Fix sample 11_texture_driver for hip-clang ( #1370 )
2019-08-29 01:03:20 +00:00
satyanveshd
f807cc1a7b
[sample] add new cookbook sample - occupancy ( #1352 )
...
* occupancy.cpp with Makefile
* occupancy sample changes according tothe comments
* Changes according to the review comments
* Occupancy Sample Changes
* Changes according to review comments
2019-08-29 01:01:49 +00:00
Evgeny Mankov
c7117df91b
[HIP][HIPIFY] Split HIP_ARRAY_DESCRIPTOR struct to HIP_ARRAY_DESCRIPTOR and HIP_ARRAY3D_DESCRIPTOR
...
[Reason] To be compatible with CUDA [#1133 ]
Update HIP code, hipify-clang, tests and docs
[TODO] Add support of the corresponding functions on nvcc fallback path
2019-07-11 14:58:16 +03:00
Jatin Chaudhary
3152af0175
Adding new unroll example ( #1187 )
2019-07-03 08:51:19 +00:00
Evgeny Mankov
8f059b0ee9
[HIP][HIPIFY] Make hipMemcpyParam2D coherent with cuMemcpy2D
...
+ Makes hip_Memcpy2D struct compatible with CUDA_MEMCPY2D struct
+ Add hipMemcpyParam2D support in nvcc fallback path
+ Update hipify-clang, tests and docs accordingly
2019-05-22 18:31:39 +03:00
Evgeny Mankov
c9af61e9d1
[HIP][tests] Copyright notice update
2019-05-20 18:46:23 +03:00
Nick Curtis
5257b54a39
Markdown fixes & Whitespace cleanup for samples ( #1096 )
...
* Fix multiline code blocks in README's
* Whitespace cleanup
2019-05-12 19:27:44 +05:30
Rahul Garg
e8cf9cba6b
Fix error codes in P2P sample test
2019-02-05 06:30:57 +05:30
Rahul Garg
1b8ddbbb85
Fixed HIP error check in P2P sample test
2019-01-23 01:10:07 +05:30
Maneesh Gupta
52e320f396
Replace hipLaunchKernel -> hipLaunchKernelGGL
...
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
2018-10-17 14:32:25 +05:30
Rahul Garg
8f0d684988
Clean up module api samples
2018-08-08 22:28:13 +05:30
Rahul Garg
ed2d4ddfc7
Removed hidden args and hipLaunchParm from HIP/HCC path
2018-03-16 22:50:25 +05:30
Rahul Garg
be25556aed
Change co file name
2018-03-16 12:54:44 +05:30
Rahul Garg
a1b608bf0d
Fixed function not found issue
2018-03-16 12:35:25 +05:30
Maneesh Gupta
1ba06f63c4
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Maneesh Gupta
6d420faca2
[samples] Adds a sample that shows using HIP with cmake
...
Change-Id: Ief983ea0894d7b5d1ea46a755f9134dda0a1bb8f
2017-12-05 10:48:29 +05:30
Rahul Garg
9866fa250d
Changed function hipMemcpy_2D to hipMemcpyParam2D
2017-11-21 12:36:24 +05:30
Rahul Garg
c7d60a7a75
Update hipModuleGetTexRef API
2017-11-19 22:10:46 +05:30
Rahul Garg
4b19c2aa0c
-Fixed texture driver API sample
...
-Added hipTexRefSetAddress and hipTexRefSetAddress2D APIs
2017-11-15 18:23:28 +05:30
Rahul Garg
68cc7766c6
Added texture 2D driver API usage example
2017-11-09 22:35:29 +05:30
Sandeep Kumar
e43802035f
Add more info for inline asm in hip kernel guide and cookbook readme
2017-09-13 12:57:37 +05:30
Maneesh Gupta
db959e648b
GPUOpen-ProfessionalCompute-Tools -> ROCm-Developer-Tools
...
Change-Id: I9f5b29dd1097385acecb0c672770d8adca2fdcf7
2017-07-05 11:44:44 +05:30
Aditya Atluri
871c2fc8d6
removed rm for /opt/rocm/hip/src in inline asm sample
...
Change-Id: I0c02bccd4cd35e01a8e889ea1e586ea8baf0ab90
2017-06-20 11:35:52 -05:00