Commit graph

49 Commits

Autor SHA1 Nachricht Datum
Rahul Garg 7e742b1216 Merge pull request #1515 from ansurya/tex_unbind_issue_fix
Fix undefined ref to hipUnbindTexture for texture types

[ROCm/hip commit: ba8105e0cd]
2019-10-30 17:54:15 -07:00
Rahul Garg 70449cfa92 Revert "Fix occupany APIs (#1560)"
This reverts commit 4f23f9cb18.


[ROCm/hip commit: e4a1e44162]
2019-10-29 11:41:08 -07:00
Anusha Godavarthy Surya 196bdea9c0 merge from master
[ROCm/hip commit: 5f47e99ffe]
2019-10-25 15:52:09 +05:30
Rahul Garg 9e0f66daec Add HIP checks in texture driver sample (#1581)
[ROCm/hip commit: 04e10814d8]
2019-10-24 17:45:51 +05:30
satyanveshd 4f23f9cb18 Fix occupany APIs (#1560)
Addresses SWDEV-205006 

[ROCm/hip commit: af351d7e1b]
2019-10-24 17:44:47 +05:30
kjayapra-amd c6fd681dd5 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 commit: fbb98f4950]
2019-10-16 10:52:15 +05:30
Anusha Godavarthy Surya e74d2cff3f Added unbind texture to samples and tests
[ROCm/hip commit: d5b1e887e9]
2019-10-15 11:34:15 +05:30
Yaxun (Sam) Liu a795928420 Fix sample 11_texture_driver for hip-clang (#1370)
[ROCm/hip commit: c404312ffe]
2019-08-29 01:03:20 +00:00
satyanveshd f378b67565 [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 commit: f807cc1a7b]
2019-08-29 01:01:49 +00:00
Evgeny Mankov 96801f7b3a [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 commit: c7117df91b]
2019-07-11 14:58:16 +03:00
Jatin Chaudhary 9484eb6831 Adding new unroll example (#1187)
[ROCm/hip commit: 3152af0175]
2019-07-03 08:51:19 +00:00
Evgeny Mankov cd309b6638 [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 commit: 8f059b0ee9]
2019-05-22 18:31:39 +03:00
Evgeny Mankov a6e82d8254 [HIP][tests] Copyright notice update
[ROCm/hip commit: c9af61e9d1]
2019-05-20 18:46:23 +03:00
Nick Curtis 376e19308b Markdown fixes & Whitespace cleanup for samples (#1096)
* Fix multiline code blocks in README's

* Whitespace cleanup


[ROCm/hip commit: 5257b54a39]
2019-05-12 19:27:44 +05:30
Rahul Garg 44e082db66 Fix error codes in P2P sample test
[ROCm/hip commit: e8cf9cba6b]
2019-02-05 06:30:57 +05:30
Rahul Garg d164b09237 Fixed HIP error check in P2P sample test
[ROCm/hip commit: 1b8ddbbb85]
2019-01-23 01:10:07 +05:30
Maneesh Gupta c4a93adb74 Replace hipLaunchKernel -> hipLaunchKernelGGL
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be


[ROCm/hip commit: 52e320f396]
2018-10-17 14:32:25 +05:30
Rahul Garg 3bae902cae Clean up module api samples
[ROCm/hip commit: 8f0d684988]
2018-08-08 22:28:13 +05:30
Rahul Garg 64e391d605 Removed hidden args and hipLaunchParm from HIP/HCC path
[ROCm/hip commit: ed2d4ddfc7]
2018-03-16 22:50:25 +05:30
Rahul Garg 49c076690c Change co file name
[ROCm/hip commit: be25556aed]
2018-03-16 12:54:44 +05:30
Rahul Garg 9097b1b2df Fixed function not found issue
[ROCm/hip commit: a1b608bf0d]
2018-03-16 12:35:25 +05:30
Maneesh Gupta 4f42ee762d Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344


[ROCm/hip commit: 1ba06f63c4]
2018-03-12 11:29:03 +05:30
Maneesh Gupta 273334bfa5 [samples] Adds a sample that shows using HIP with cmake
Change-Id: Ief983ea0894d7b5d1ea46a755f9134dda0a1bb8f


[ROCm/hip commit: 6d420faca2]
2017-12-05 10:48:29 +05:30
Rahul Garg 03552f2e94 Changed function hipMemcpy_2D to hipMemcpyParam2D
[ROCm/hip commit: 9866fa250d]
2017-11-21 12:36:24 +05:30
Rahul Garg 62f20c6dc8 Update hipModuleGetTexRef API
[ROCm/hip commit: c7d60a7a75]
2017-11-19 22:10:46 +05:30
Rahul Garg 58b37dce5f -Fixed texture driver API sample
-Added hipTexRefSetAddress and hipTexRefSetAddress2D APIs


[ROCm/hip commit: 4b19c2aa0c]
2017-11-15 18:23:28 +05:30
Rahul Garg 2315ba55d6 Added texture 2D driver API usage example
[ROCm/hip commit: 68cc7766c6]
2017-11-09 22:35:29 +05:30
Sandeep Kumar 01e6e7f356 Add more info for inline asm in hip kernel guide and cookbook readme
[ROCm/hip commit: e43802035f]
2017-09-13 12:57:37 +05:30
Maneesh Gupta 19ecde4011 GPUOpen-ProfessionalCompute-Tools -> ROCm-Developer-Tools
Change-Id: I9f5b29dd1097385acecb0c672770d8adca2fdcf7


[ROCm/hip commit: db959e648b]
2017-07-05 11:44:44 +05:30
Aditya Atluri 5d44127133 removed rm for /opt/rocm/hip/src in inline asm sample
Change-Id: I0c02bccd4cd35e01a8e889ea1e586ea8baf0ab90


[ROCm/hip commit: 871c2fc8d6]
2017-06-20 11:35:52 -05:00
Sandeep Kumar ee62cf4869 Add readme for inline asm and unroll cookbook samples
Change-Id: I71b7a5652c3dad181c5df60ab0dd1b81d79f1bfb


[ROCm/hip commit: 0154c97ddd]
2017-05-31 09:25:50 +05:30
Sandeep Kumar 1859451523 Add unroll and inline asm cookbook samples
Change-Id: Ie5a0fbb01b7fca82959090d89299533d49e092f1


[ROCm/hip commit: e4f0b28bb9]
2017-05-31 09:25:35 +05:30
Sandeep Kumar a28399f456 Print msg for single gpu
Change-Id: I2d23c73542add8973990ba96592016726994422e


[ROCm/hip commit: dfcba01db6]
2017-05-31 09:25:17 +05:30
Maneesh Gupta 88f720d9f3 4_shfl and 5_2dshfl samples are unsupported on gfx701
Change-Id: I81eb880350f25e89573ba14c62b549c6c43f8c91


[ROCm/hip commit: 9f5a11a3fb]
2017-03-14 15:56:18 +05:30
Rahul Garg 87dab4f207 Fix for HCSWAP-128, make 5_2dshfl cookbook sample only for fiji
Change-Id: I8869c28151bca1bd47a053a2808e93a801d16d00


[ROCm/hip commit: 6d815f84d1]
2017-03-10 10:29:52 +05:30
Aditya Atluri 297f40264e make 4_shfl cookbook sample only for fiji
1. __shfl is not supported on hawaii gfx701

Change-Id: Iac09f5d30ee0674b8f58a6e74ec5c49b02be32ad


[ROCm/hip commit: 60f8908ad8]
2017-03-09 08:52:50 -06:00
Sandeep Kumar 1c6c618247 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 commit: d78649b978]
2016-12-14 16:27:14 +05:30
Sandeep Kumar 7d583dde51 fix_format
Change-Id: I34e265de434263a11654e5deba044c3f21e86578


[ROCm/hip commit: 53e771fc75]
2016-11-18 14:34:14 +05:30
Sandeep Kumar 857fd273f1 Add p2p for cookbook
Change-Id: Id2e77ab31123ef95885d665efe34bc0d4596733a
(cherry picked from commit 6fbd0352713ca36e399b1ed4f17c486207a53875)


[ROCm/hip commit: 09b157ca8c]
2016-11-14 06:10:36 +05:30
Ben Sander 2cfd770f1b 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 commit: bb58f4f6fc]
2016-10-27 23:09:32 -05:00
Ben Sander 73d0a04f44 show how to use variety of HIP_PROFILE features
Change-Id: I6edd66ac4c068b64e1dc3787d7f1f69ab3238469


[ROCm/hip commit: 32b086400e]
2016-10-27 23:09:32 -05:00
Ben Sander ed022118bb Add new hipdemangleatp and snapshot sample update for new functionality
Change-Id: Ie19c683b2b0bdfeb0c3fcf89444c2e21b7f606e7


[ROCm/hip commit: f95482c7c5]
2016-10-27 23:09:31 -05:00
Ben Sander 0845025a21 Rename HIP_ATP_MARKER and profiling vars
HIP_PROFILE_API
HIP_DB_START_API
HIP_DB_STOP_API

Change-Id: I6c4da67212ff8217e6356a2622d4c6278a188c34


[ROCm/hip commit: e9056798f6]
2016-10-27 23:09:31 -05:00
Sandeep Kumar 67ebfde50e Add more apps to 2_Cookbook
Change-Id: Iafe462df9726a32f450bd240a2de3eaa73a10057


[ROCm/hip commit: d5c59830f3]
2016-10-19 12:58:16 -04:00
Maneesh Gupta 92498c947b samples: Updated copyright header
Change-Id: I821f514ced5e34d492cb167b65d7273e26ed7b84


[ROCm/hip commit: 501778898f]
2016-10-15 23:05:04 +05:30
Maneesh Gupta 9f449295a4 clang-hipify -> hipify-clang in documentation
Change-Id: I86ebc8112477db0d3e09f240beb3f9222d909ee6


[ROCm/hip commit: 3b55dcbf6c]
2016-10-05 23:07:14 +05:30
Maneesh Gupta 2dba960b07 samples: Updated to use new hip include path
Change-Id: I53a1385a17f13a997ea21d14315f15a3ad851dab


[ROCm/hip commit: 3a247efb2f]
2016-10-04 22:21:10 +05:30
Ben Sander 00ef0dcea3 small typo fix
Change-Id: I01906b330be8e6ec149bcdfe82def73e15931c89


[ROCm/hip commit: 848b27ccef]
2016-10-02 05:57:02 -05:00
sandeep kumar 9c4acfbfcb Add 2_Cookbook
Change-Id: I10bbbd4bcb80a5900fe6af466c8f4c94ea5efe9a


[ROCm/hip commit: 4f6112730b]
2016-09-30 12:52:06 +05:30