Maneesh Gupta
ce2db2ba67
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 884f9f5b84 .
[ROCm/hip-tests commit: 3e0af4b4a9 ]
2020-02-10 10:45:28 +05:30
Rahul Garg
8077fa58b0
[docs] Fix links in cookbook samples ( #1824 )
...
[ROCm/hip-tests commit: 9a88f7ae56 ]
2020-02-04 08:56:31 +05:30
satyanveshd
884f9f5b84
Match Occupancy APIs syntax with CUDA ( #1625 )
...
* Match Occupancy APIs syntax with CUDA and fix tests using these APIs
[ROCm/hip-tests commit: acb2ea8618 ]
2020-01-29 13:05:53 -08:00
Rahul Garg
26924f665e
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/hip-tests commit: 67e27b3603 ]
2019-11-07 13:17:10 +05:30
Rahul Garg
dd06fef4bc
Merge pull request #1515 from ansurya/tex_unbind_issue_fix
...
Fix undefined ref to hipUnbindTexture for texture types
[ROCm/hip-tests commit: bdeed6c207 ]
2019-10-30 17:54:15 -07:00
Rahul Garg
2ccd36585d
Revert "Fix occupany APIs ( #1560 )"
...
This reverts commit 75f4baa12c .
[ROCm/hip-tests commit: 1aa9eab331 ]
2019-10-29 11:41:08 -07:00
Anusha Godavarthy Surya
ce48fed42e
merge from master
...
[ROCm/hip-tests commit: 7cfd70847d ]
2019-10-25 15:52:09 +05:30
Rahul Garg
ea46097623
Add HIP checks in texture driver sample ( #1581 )
...
[ROCm/hip-tests commit: bee4958708 ]
2019-10-24 17:45:51 +05:30
satyanveshd
75f4baa12c
Fix occupany APIs ( #1560 )
...
Addresses SWDEV-205006
[ROCm/hip-tests commit: 033960c86e ]
2019-10-24 17:44:47 +05:30
kjayapra-amd
1f143189f8
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/hip-tests commit: 26c3b4f985 ]
2019-10-16 10:52:15 +05:30
Anusha Godavarthy Surya
1f1da0afa7
Added unbind texture to samples and tests
...
[ROCm/hip-tests commit: fc776424a0 ]
2019-10-15 11:34:15 +05:30
Yaxun (Sam) Liu
215a715fb1
Fix sample 11_texture_driver for hip-clang ( #1370 )
...
[ROCm/hip-tests commit: d9d6374a63 ]
2019-08-29 01:03:20 +00:00
satyanveshd
63025d487f
[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/hip-tests commit: 39de5ed699 ]
2019-08-29 01:01:49 +00:00
Evgeny Mankov
e9282e6782
[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/hip-tests commit: 7a0e0cb50e ]
2019-07-11 14:58:16 +03:00
Jatin Chaudhary
9e8cd38442
Adding new unroll example ( #1187 )
...
[ROCm/hip-tests commit: 3b0faf950b ]
2019-07-03 08:51:19 +00:00
Evgeny Mankov
84e4fdcef2
[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/hip-tests commit: 66c182946e ]
2019-05-22 18:31:39 +03:00
Evgeny Mankov
eaef7e9024
[HIP][tests] Copyright notice update
...
[ROCm/hip-tests commit: f5f240744a ]
2019-05-20 18:46:23 +03:00
Nick Curtis
3a0ad509a6
Markdown fixes & Whitespace cleanup for samples ( #1096 )
...
* Fix multiline code blocks in README's
* Whitespace cleanup
[ROCm/hip-tests commit: 7391b26fac ]
2019-05-12 19:27:44 +05:30
Rahul Garg
6c2ad81fba
Fix error codes in P2P sample test
...
[ROCm/hip-tests commit: cea97d2beb ]
2019-02-05 06:30:57 +05:30
Rahul Garg
69de406acc
Fixed HIP error check in P2P sample test
...
[ROCm/hip-tests commit: 39735ffedd ]
2019-01-23 01:10:07 +05:30
Maneesh Gupta
1bc2b62f98
Replace hipLaunchKernel -> hipLaunchKernelGGL
...
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
[ROCm/hip-tests commit: bfceb14751 ]
2018-10-17 14:32:25 +05:30
Rahul Garg
e80e6d9f68
Clean up module api samples
...
[ROCm/hip-tests commit: dbf1737658 ]
2018-08-08 22:28:13 +05:30
Rahul Garg
eb77a001da
Removed hidden args and hipLaunchParm from HIP/HCC path
...
[ROCm/hip-tests commit: bd985285df ]
2018-03-16 22:50:25 +05:30
Rahul Garg
d96395e02b
Change co file name
...
[ROCm/hip-tests commit: 65b2fc4b9b ]
2018-03-16 12:54:44 +05:30
Rahul Garg
5482a4237e
Fixed function not found issue
...
[ROCm/hip-tests commit: 01ee90d564 ]
2018-03-16 12:35:25 +05:30
Maneesh Gupta
3277453ea5
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/hip-tests commit: 6b09bde675 ]
2018-03-12 11:29:03 +05:30
Maneesh Gupta
6e2642b940
[samples] Adds a sample that shows using HIP with cmake
...
Change-Id: Ief983ea0894d7b5d1ea46a755f9134dda0a1bb8f
[ROCm/hip-tests commit: c15d48c543 ]
2017-12-05 10:48:29 +05:30
Rahul Garg
1b359db390
Changed function hipMemcpy_2D to hipMemcpyParam2D
...
[ROCm/hip-tests commit: 3d2e40a5df ]
2017-11-21 12:36:24 +05:30
Rahul Garg
c971b263c1
Update hipModuleGetTexRef API
...
[ROCm/hip-tests commit: 741702888f ]
2017-11-19 22:10:46 +05:30
Rahul Garg
3997a72bf2
-Fixed texture driver API sample
...
-Added hipTexRefSetAddress and hipTexRefSetAddress2D APIs
[ROCm/hip-tests commit: 657aa51d5d ]
2017-11-15 18:23:28 +05:30
Rahul Garg
25f519713a
Added texture 2D driver API usage example
...
[ROCm/hip-tests commit: 0fffdeba92 ]
2017-11-09 22:35:29 +05:30
Sandeep Kumar
4ddfe042c6
Add more info for inline asm in hip kernel guide and cookbook readme
...
[ROCm/hip-tests commit: 451f36a42a ]
2017-09-13 12:57:37 +05:30
Maneesh Gupta
6442d0652f
GPUOpen-ProfessionalCompute-Tools -> ROCm-Developer-Tools
...
Change-Id: I9f5b29dd1097385acecb0c672770d8adca2fdcf7
[ROCm/hip-tests commit: 8252ae785b ]
2017-07-05 11:44:44 +05:30
Aditya Atluri
faa7417a8c
removed rm for /opt/rocm/hip/src in inline asm sample
...
Change-Id: I0c02bccd4cd35e01a8e889ea1e586ea8baf0ab90
[ROCm/hip-tests commit: a491a49f98 ]
2017-06-20 11:35:52 -05:00
Sandeep Kumar
a51e393772
Add readme for inline asm and unroll cookbook samples
...
Change-Id: I71b7a5652c3dad181c5df60ab0dd1b81d79f1bfb
[ROCm/hip-tests commit: 7c6b0384bb ]
2017-05-31 09:25:50 +05:30
Sandeep Kumar
78789054f0
Add unroll and inline asm cookbook samples
...
Change-Id: Ie5a0fbb01b7fca82959090d89299533d49e092f1
[ROCm/hip-tests commit: 83472bfa78 ]
2017-05-31 09:25:35 +05:30
Sandeep Kumar
a485c75155
Print msg for single gpu
...
Change-Id: I2d23c73542add8973990ba96592016726994422e
[ROCm/hip-tests commit: 3bc6df2044 ]
2017-05-31 09:25:17 +05:30
Maneesh Gupta
ea06138990
4_shfl and 5_2dshfl samples are unsupported on gfx701
...
Change-Id: I81eb880350f25e89573ba14c62b549c6c43f8c91
[ROCm/hip-tests commit: 8d6cb1f5a3 ]
2017-03-14 15:56:18 +05:30
Rahul Garg
80820f3615
Fix for HCSWAP-128, make 5_2dshfl cookbook sample only for fiji
...
Change-Id: I8869c28151bca1bd47a053a2808e93a801d16d00
[ROCm/hip-tests commit: 5eb39f1c6b ]
2017-03-10 10:29:52 +05:30
Aditya Atluri
e6d7dc9067
make 4_shfl cookbook sample only for fiji
...
1. __shfl is not supported on hawaii gfx701
Change-Id: Iac09f5d30ee0674b8f58a6e74ec5c49b02be32ad
[ROCm/hip-tests commit: a8fb90d9a9 ]
2017-03-09 08:52:50 -06:00
Sandeep Kumar
7ba0720f71
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/hip-tests commit: 70716bee42 ]
2016-12-14 16:27:14 +05:30
Sandeep Kumar
8f869865b2
fix_format
...
Change-Id: I34e265de434263a11654e5deba044c3f21e86578
[ROCm/hip-tests commit: 5e86e5f565 ]
2016-11-18 14:34:14 +05:30
Sandeep Kumar
95a6e23cfa
Add p2p for cookbook
...
Change-Id: Id2e77ab31123ef95885d665efe34bc0d4596733a
(cherry picked from commit 6fbd0352713ca36e399b1ed4f17c486207a53875)
[ROCm/hip-tests commit: 8829e2626c ]
2016-11-14 06:10:36 +05:30
Ben Sander
6be0606234
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/hip-tests commit: b5b7663c51 ]
2016-10-27 23:09:32 -05:00
Ben Sander
320c486b62
show how to use variety of HIP_PROFILE features
...
Change-Id: I6edd66ac4c068b64e1dc3787d7f1f69ab3238469
[ROCm/hip-tests commit: e2fbab109d ]
2016-10-27 23:09:32 -05:00
Ben Sander
5f616039cb
Add new hipdemangleatp and snapshot sample update for new functionality
...
Change-Id: Ie19c683b2b0bdfeb0c3fcf89444c2e21b7f606e7
[ROCm/hip-tests commit: f8c4fa982a ]
2016-10-27 23:09:31 -05:00
Ben Sander
3ba8f29d4d
Rename HIP_ATP_MARKER and profiling vars
...
HIP_PROFILE_API
HIP_DB_START_API
HIP_DB_STOP_API
Change-Id: I6c4da67212ff8217e6356a2622d4c6278a188c34
[ROCm/hip-tests commit: 23dc2f02cd ]
2016-10-27 23:09:31 -05:00
Sandeep Kumar
f1fb0d5c2d
Add more apps to 2_Cookbook
...
Change-Id: Iafe462df9726a32f450bd240a2de3eaa73a10057
[ROCm/hip-tests commit: 04af19866f ]
2016-10-19 12:58:16 -04:00
Maneesh Gupta
444284037a
samples: Updated copyright header
...
Change-Id: I821f514ced5e34d492cb167b65d7273e26ed7b84
[ROCm/hip-tests commit: a46e251daf ]
2016-10-15 23:05:04 +05:30
Maneesh Gupta
1dc718dbd3
clang-hipify -> hipify-clang in documentation
...
Change-Id: I86ebc8112477db0d3e09f240beb3f9222d909ee6
[ROCm/hip-tests commit: 1ec9ecbf9c ]
2016-10-05 23:07:14 +05:30