Tao Sang
0292fd9991
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
[ROCm/clr commit: 15b91e9f1e ]
2020-02-16 22:26:47 -05:00
Maneesh Gupta
a21b1f84cb
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 2c6e880e05 .
[ROCm/clr commit: d032637934 ]
2020-02-10 10:45:28 +05:30
Rahul Garg
b34b02549e
[docs] Fix links in cookbook samples ( #1824 )
...
[ROCm/clr commit: 27fbfd9d66 ]
2020-02-04 08:56:31 +05:30
satyanveshd
2c6e880e05
Match Occupancy APIs syntax with CUDA ( #1625 )
...
* Match Occupancy APIs syntax with CUDA and fix tests using these APIs
[ROCm/clr commit: 262ad13dd5 ]
2020-01-29 13:05:53 -08:00
Rahul Garg
cf648f7dbe
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
[ROCm/clr commit: dfee3ae279 ]
2019-11-07 13:17:10 +05:30
Rahul Garg
04785f2d54
Merge pull request #1515 from ansurya/tex_unbind_issue_fix
...
Fix undefined ref to hipUnbindTexture for texture types
[ROCm/clr commit: aeb7cebbad ]
2019-10-30 17:54:15 -07:00
Rahul Garg
72c686ed67
Revert "Fix occupany APIs ( #1560 )"
...
This reverts commit ad1e409a24 .
[ROCm/clr commit: 27221bc823 ]
2019-10-29 11:41:08 -07:00
Anusha Godavarthy Surya
0140ea8e1a
merge from master
...
[ROCm/clr commit: ae838f8cee ]
2019-10-25 15:52:09 +05:30
Rahul Garg
7f429afe2e
Add HIP checks in texture driver sample ( #1581 )
...
[ROCm/clr commit: 170c4f0270 ]
2019-10-24 17:45:51 +05:30
satyanveshd
ad1e409a24
Fix occupany APIs ( #1560 )
...
Addresses SWDEV-205006
[ROCm/clr commit: 6c5fbf9b4a ]
2019-10-24 17:44:47 +05:30
kjayapra-amd
97c823d552
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().
[ROCm/clr commit: 9d571e3c9e ]
2019-10-16 10:52:15 +05:30
Anusha Godavarthy Surya
712b6ccdc2
Added unbind texture to samples and tests
...
[ROCm/clr commit: 20cfe17805 ]
2019-10-15 11:34:15 +05:30
Yaxun (Sam) Liu
e5a61a51de
Fix sample 11_texture_driver for hip-clang ( #1370 )
...
[ROCm/clr commit: 793b18c0b1 ]
2019-08-29 01:03:20 +00:00
satyanveshd
0e4701d59f
[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
[ROCm/clr commit: d2df21e58c ]
2019-08-29 01:01:49 +00:00
Evgeny Mankov
b5f0cdaa7b
[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
[ROCm/clr commit: f0832fd968 ]
2019-07-11 14:58:16 +03:00
Jatin Chaudhary
db5f404b5c
Adding new unroll example ( #1187 )
...
[ROCm/clr commit: 3cb87cdc46 ]
2019-07-03 08:51:19 +00:00
Evgeny Mankov
204043c6e0
[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
[ROCm/clr commit: 9cb3e9aa5e ]
2019-05-22 18:31:39 +03:00
Evgeny Mankov
fef3e849eb
[HIP][tests] Copyright notice update
...
[ROCm/clr commit: 7664560f14 ]
2019-05-20 18:46:23 +03:00
Nick Curtis
3b6b356d23
Markdown fixes & Whitespace cleanup for samples ( #1096 )
...
* Fix multiline code blocks in README's
* Whitespace cleanup
[ROCm/clr commit: fb92feae0e ]
2019-05-12 19:27:44 +05:30
Rahul Garg
0d6b2e90cd
Fix error codes in P2P sample test
...
[ROCm/clr commit: 3e2f946d3f ]
2019-02-05 06:30:57 +05:30
Rahul Garg
84c31c3623
Fixed HIP error check in P2P sample test
...
[ROCm/clr commit: 7951cd03b2 ]
2019-01-23 01:10:07 +05:30
Maneesh Gupta
50e89b0a30
Replace hipLaunchKernel -> hipLaunchKernelGGL
...
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
[ROCm/clr commit: e1fe095471 ]
2018-10-17 14:32:25 +05:30
Rahul Garg
1f0d24fa61
Clean up module api samples
...
[ROCm/clr commit: b6c5d7d71b ]
2018-08-08 22:28:13 +05:30
Rahul Garg
ec51e3c539
Removed hidden args and hipLaunchParm from HIP/HCC path
...
[ROCm/clr commit: 2184e7f6da ]
2018-03-16 22:50:25 +05:30
Rahul Garg
0a8ae7a07d
Change co file name
...
[ROCm/clr commit: da66236083 ]
2018-03-16 12:54:44 +05:30
Rahul Garg
c2f4352aad
Fixed function not found issue
...
[ROCm/clr commit: 2ff9e5d46d ]
2018-03-16 12:35:25 +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
Maneesh Gupta
ae0763a266
[samples] Adds a sample that shows using HIP with cmake
...
Change-Id: Ief983ea0894d7b5d1ea46a755f9134dda0a1bb8f
[ROCm/clr commit: f52662da24 ]
2017-12-05 10:48:29 +05:30
Rahul Garg
dc2c56c43d
Changed function hipMemcpy_2D to hipMemcpyParam2D
...
[ROCm/clr commit: 24307fe5c4 ]
2017-11-21 12:36:24 +05:30
Rahul Garg
7453c8b25c
Update hipModuleGetTexRef API
...
[ROCm/clr commit: 76f174b536 ]
2017-11-19 22:10:46 +05:30
Rahul Garg
a0f838a75e
-Fixed texture driver API sample
...
-Added hipTexRefSetAddress and hipTexRefSetAddress2D APIs
[ROCm/clr commit: edbfeeb141 ]
2017-11-15 18:23:28 +05:30
Rahul Garg
8069290ca1
Added texture 2D driver API usage example
...
[ROCm/clr commit: 3711136e46 ]
2017-11-09 22:35:29 +05:30
Sandeep Kumar
695862fdc6
Add more info for inline asm in hip kernel guide and cookbook readme
...
[ROCm/clr commit: 6eb1d2d52f ]
2017-09-13 12:57:37 +05:30
Maneesh Gupta
c2cb93b2cc
GPUOpen-ProfessionalCompute-Tools -> ROCm-Developer-Tools
...
Change-Id: I9f5b29dd1097385acecb0c672770d8adca2fdcf7
[ROCm/clr commit: 13e3e63fd8 ]
2017-07-05 11:44:44 +05:30
Aditya Atluri
512482badd
removed rm for /opt/rocm/hip/src in inline asm sample
...
Change-Id: I0c02bccd4cd35e01a8e889ea1e586ea8baf0ab90
[ROCm/clr commit: fba69b1ce7 ]
2017-06-20 11:35:52 -05:00
Sandeep Kumar
ac8089e773
Add readme for inline asm and unroll cookbook samples
...
Change-Id: I71b7a5652c3dad181c5df60ab0dd1b81d79f1bfb
[ROCm/clr commit: f6b98854ba ]
2017-05-31 09:25:50 +05:30
Sandeep Kumar
be31ebb8a7
Add unroll and inline asm cookbook samples
...
Change-Id: Ie5a0fbb01b7fca82959090d89299533d49e092f1
[ROCm/clr commit: 5696eaf842 ]
2017-05-31 09:25:35 +05:30
Sandeep Kumar
b22fdeb171
Print msg for single gpu
...
Change-Id: I2d23c73542add8973990ba96592016726994422e
[ROCm/clr commit: e104c2e3bf ]
2017-05-31 09:25:17 +05:30
Maneesh Gupta
ee45f273fd
4_shfl and 5_2dshfl samples are unsupported on gfx701
...
Change-Id: I81eb880350f25e89573ba14c62b549c6c43f8c91
[ROCm/clr commit: f91583b294 ]
2017-03-14 15:56:18 +05:30
Rahul Garg
4dd856eb67
Fix for HCSWAP-128, make 5_2dshfl cookbook sample only for fiji
...
Change-Id: I8869c28151bca1bd47a053a2808e93a801d16d00
[ROCm/clr commit: d48943699d ]
2017-03-10 10:29:52 +05:30
Aditya Atluri
974cb587a8
make 4_shfl cookbook sample only for fiji
...
1. __shfl is not supported on hawaii gfx701
Change-Id: Iac09f5d30ee0674b8f58a6e74ec5c49b02be32ad
[ROCm/clr commit: 7f4b24886f ]
2017-03-09 08:52:50 -06:00
Sandeep Kumar
4d78e20eed
Fixes in Makefile of couple of samples
...
- modified Makefile for hipblas_saxpy to replaced hcblas.so with hipblas.so as part of HCSWAP-100
- Resolved missing separator issue in peer2peer cookbook Makefile
Change-Id: I678fea267eee1481f02da09379339ed78d3f95f2
[ROCm/clr commit: 8b0ce6e81b ]
2016-12-14 16:27:14 +05:30
Sandeep Kumar
b8eda419a8
fix_format
...
Change-Id: I34e265de434263a11654e5deba044c3f21e86578
[ROCm/clr commit: 1fe6890ba3 ]
2016-11-18 14:34:14 +05:30
Sandeep Kumar
dc599cf2b8
Add p2p for cookbook
...
Change-Id: Id2e77ab31123ef95885d665efe34bc0d4596733a
(cherry picked from commit 6fbd0352713ca36e399b1ed4f17c486207a53875)
[ROCm/clr commit: 39e1b16d0b ]
2016-11-14 06:10:36 +05:30
Ben Sander
4378a14789
Add initial hipProfileStart/Stop
...
And modify sample to show how to use.
Still needs some work to understand interaction with CXL.
Change-Id: I2579824d2dd7863ea23874d34f0dabb3cb305d3e
[ROCm/clr commit: 18dbafe6e8 ]
2016-10-27 23:09:32 -05:00
Ben Sander
04b77f0688
show how to use variety of HIP_PROFILE features
...
Change-Id: I6edd66ac4c068b64e1dc3787d7f1f69ab3238469
[ROCm/clr commit: 08c08d6f9c ]
2016-10-27 23:09:32 -05:00
Ben Sander
9b2a6652c4
Add new hipdemangleatp and snapshot sample update for new functionality
...
Change-Id: Ie19c683b2b0bdfeb0c3fcf89444c2e21b7f606e7
[ROCm/clr commit: 5b7da93e61 ]
2016-10-27 23:09:31 -05:00
Ben Sander
e0a3b2472c
Rename HIP_ATP_MARKER and profiling vars
...
HIP_PROFILE_API
HIP_DB_START_API
HIP_DB_STOP_API
Change-Id: I6c4da67212ff8217e6356a2622d4c6278a188c34
[ROCm/clr commit: f7c42efa3f ]
2016-10-27 23:09:31 -05:00
Sandeep Kumar
e41aa1483a
Add more apps to 2_Cookbook
...
Change-Id: Iafe462df9726a32f450bd240a2de3eaa73a10057
[ROCm/clr commit: d025ed980b ]
2016-10-19 12:58:16 -04:00
Maneesh Gupta
dbfd285aae
samples: Updated copyright header
...
Change-Id: I821f514ced5e34d492cb167b65d7273e26ed7b84
[ROCm/clr commit: 945a09c241 ]
2016-10-15 23:05:04 +05:30