Commit Graph

50 Commits

Author SHA1 Message Date
Rahul Garg 67e27b3603 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 bdeed6c207 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 1aa9eab331 Revert "Fix occupany APIs (#1560)"
This reverts commit 033960c86e.
2019-10-29 11:41:08 -07:00
Anusha Godavarthy Surya 7cfd70847d merge from master 2019-10-25 15:52:09 +05:30
Rahul Garg bee4958708 Add HIP checks in texture driver sample (#1581) 2019-10-24 17:45:51 +05:30
satyanveshd 033960c86e Fix occupany APIs (#1560)
Addresses SWDEV-205006
2019-10-24 17:44:47 +05:30
kjayapra-amd 26c3b4f985 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 fc776424a0 Added unbind texture to samples and tests 2019-10-15 11:34:15 +05:30
Yaxun (Sam) Liu d9d6374a63 Fix sample 11_texture_driver for hip-clang (#1370) 2019-08-29 01:03:20 +00:00
satyanveshd 39de5ed699 [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 7a0e0cb50e [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 3b0faf950b Adding new unroll example (#1187) 2019-07-03 08:51:19 +00:00
Evgeny Mankov 66c182946e [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 f5f240744a [HIP][tests] Copyright notice update 2019-05-20 18:46:23 +03:00
Nick Curtis 7391b26fac 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 cea97d2beb Fix error codes in P2P sample test 2019-02-05 06:30:57 +05:30
Rahul Garg 39735ffedd Fixed HIP error check in P2P sample test 2019-01-23 01:10:07 +05:30
Maneesh Gupta bfceb14751 Replace hipLaunchKernel -> hipLaunchKernelGGL
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
2018-10-17 14:32:25 +05:30
Rahul Garg dbf1737658 Clean up module api samples 2018-08-08 22:28:13 +05:30
Rahul Garg bd985285df Removed hidden args and hipLaunchParm from HIP/HCC path 2018-03-16 22:50:25 +05:30
Rahul Garg 65b2fc4b9b Change co file name 2018-03-16 12:54:44 +05:30
Rahul Garg 01ee90d564 Fixed function not found issue 2018-03-16 12:35:25 +05:30
Maneesh Gupta 6b09bde675 Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Maneesh Gupta c15d48c543 [samples] Adds a sample that shows using HIP with cmake
Change-Id: Ief983ea0894d7b5d1ea46a755f9134dda0a1bb8f
2017-12-05 10:48:29 +05:30
Rahul Garg 3d2e40a5df Changed function hipMemcpy_2D to hipMemcpyParam2D 2017-11-21 12:36:24 +05:30
Rahul Garg 741702888f Update hipModuleGetTexRef API 2017-11-19 22:10:46 +05:30
Rahul Garg 657aa51d5d -Fixed texture driver API sample
-Added hipTexRefSetAddress and hipTexRefSetAddress2D APIs
2017-11-15 18:23:28 +05:30
Rahul Garg 0fffdeba92 Added texture 2D driver API usage example 2017-11-09 22:35:29 +05:30
Sandeep Kumar 451f36a42a Add more info for inline asm in hip kernel guide and cookbook readme 2017-09-13 12:57:37 +05:30
Maneesh Gupta 8252ae785b GPUOpen-ProfessionalCompute-Tools -> ROCm-Developer-Tools
Change-Id: I9f5b29dd1097385acecb0c672770d8adca2fdcf7
2017-07-05 11:44:44 +05:30
Aditya Atluri a491a49f98 removed rm for /opt/rocm/hip/src in inline asm sample
Change-Id: I0c02bccd4cd35e01a8e889ea1e586ea8baf0ab90
2017-06-20 11:35:52 -05:00
Sandeep Kumar 7c6b0384bb Add readme for inline asm and unroll cookbook samples
Change-Id: I71b7a5652c3dad181c5df60ab0dd1b81d79f1bfb
2017-05-31 09:25:50 +05:30
Sandeep Kumar 83472bfa78 Add unroll and inline asm cookbook samples
Change-Id: Ie5a0fbb01b7fca82959090d89299533d49e092f1
2017-05-31 09:25:35 +05:30
Sandeep Kumar 3bc6df2044 Print msg for single gpu
Change-Id: I2d23c73542add8973990ba96592016726994422e
2017-05-31 09:25:17 +05:30
Maneesh Gupta 8d6cb1f5a3 4_shfl and 5_2dshfl samples are unsupported on gfx701
Change-Id: I81eb880350f25e89573ba14c62b549c6c43f8c91
2017-03-14 15:56:18 +05:30
Rahul Garg 5eb39f1c6b Fix for HCSWAP-128, make 5_2dshfl cookbook sample only for fiji
Change-Id: I8869c28151bca1bd47a053a2808e93a801d16d00
2017-03-10 10:29:52 +05:30
Aditya Atluri a8fb90d9a9 make 4_shfl cookbook sample only for fiji
1. __shfl is not supported on hawaii gfx701

Change-Id: Iac09f5d30ee0674b8f58a6e74ec5c49b02be32ad
2017-03-09 08:52:50 -06:00
Sandeep Kumar 70716bee42 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
2016-12-14 16:27:14 +05:30
Sandeep Kumar 5e86e5f565 fix_format
Change-Id: I34e265de434263a11654e5deba044c3f21e86578
2016-11-18 14:34:14 +05:30
Sandeep Kumar 8829e2626c Add p2p for cookbook
Change-Id: Id2e77ab31123ef95885d665efe34bc0d4596733a
(cherry picked from commit 6fbd0352713ca36e399b1ed4f17c486207a53875)
2016-11-14 06:10:36 +05:30
Ben Sander b5b7663c51 Add initial hipProfileStart/Stop
And modify sample to show how to use.
Still needs some work to understand interaction with CXL.

Change-Id: I2579824d2dd7863ea23874d34f0dabb3cb305d3e
2016-10-27 23:09:32 -05:00
Ben Sander e2fbab109d show how to use variety of HIP_PROFILE features
Change-Id: I6edd66ac4c068b64e1dc3787d7f1f69ab3238469
2016-10-27 23:09:32 -05:00
Ben Sander f8c4fa982a Add new hipdemangleatp and snapshot sample update for new functionality
Change-Id: Ie19c683b2b0bdfeb0c3fcf89444c2e21b7f606e7
2016-10-27 23:09:31 -05:00
Ben Sander 23dc2f02cd Rename HIP_ATP_MARKER and profiling vars
HIP_PROFILE_API
HIP_DB_START_API
HIP_DB_STOP_API

Change-Id: I6c4da67212ff8217e6356a2622d4c6278a188c34
2016-10-27 23:09:31 -05:00
Sandeep Kumar 04af19866f Add more apps to 2_Cookbook
Change-Id: Iafe462df9726a32f450bd240a2de3eaa73a10057
2016-10-19 12:58:16 -04:00
Maneesh Gupta a46e251daf samples: Updated copyright header
Change-Id: I821f514ced5e34d492cb167b65d7273e26ed7b84
2016-10-15 23:05:04 +05:30
Maneesh Gupta 1ec9ecbf9c clang-hipify -> hipify-clang in documentation
Change-Id: I86ebc8112477db0d3e09f240beb3f9222d909ee6
2016-10-05 23:07:14 +05:30
Maneesh Gupta 937c0389cb samples: Updated to use new hip include path
Change-Id: I53a1385a17f13a997ea21d14315f15a3ad851dab
2016-10-04 22:21:10 +05:30
Ben Sander d25f665837 small typo fix
Change-Id: I01906b330be8e6ec149bcdfe82def73e15931c89
2016-10-02 05:57:02 -05:00
sandeep kumar db7e460626 Add 2_Cookbook
Change-Id: I10bbbd4bcb80a5900fe6af466c8f4c94ea5efe9a
2016-09-30 12:52:06 +05:30