Граф коммитов

76 Коммитов

Автор SHA1 Сообщение Дата
Ben Sander ca1cef4e06 Doc update - describe debug techniques
Also tweak sample to remove unneeded HIP_KERNEL_NAME.
Comment update
2017-01-19 12:40:45 -06:00
Aditya Atluri 706a032a29 moved half device function declarations to top of the file
1. Moved half device functions around so that script can catch the signatures
2. Generated docs for half precision apis

Change-Id: Iee27658e3a639fdb02af135e71841dc6427f15e2
2017-01-18 15:06:18 -06:00
Aditya Atluri c9bc71dc86 more clarification about using device_md_gen.py
Change-Id: I3e207b65683f34d62be3454444ffb32f8814c0aa
2017-01-18 14:49:41 -06:00
Aditya Atluri 3d4dcee35d Added script for generating math api docs
1. Commented out unsupported device math functions
2. Moved function signatures to the top of implementation snippets
3. Added script to generate markdown documentation for device math apis
4. Added the generated file from the script which should be present everytime

Change-Id: Ic579dd8b8fdffa6e1b4d4f5f3fd8a803f4dcaac7
2017-01-18 14:40:50 -06:00
Robert 32a35eda75 fix spelling errors
Conflicts:
	README.md
	docs/markdown/hip_faq.md

Change-Id: I8ca025e01276939ed3d7be24200ecaa8cf5e1e2c
2017-01-13 14:42:37 +05:30
Ben Sander a6034b88e2 Add more notes on debugging HIP apps. 2017-01-09 21:02:50 -06:00
Ben Sander d39ef58daf Fix typo 2016-12-15 14:42:52 -06:00
Brecht Carlier cc73dd4ed5 Update hip_faq.md
Fixed navigation and list.
2016-12-15 14:08:34 +05:30
Martin Schleiss 8a4fe76de2 Fix another typo 2016-12-15 14:07:20 +05:30
Martin Schleiss dc8db38f04 Fix various typos
Conflicts:
	README.md

Change-Id: Ie296d503d16121a62fed1a208352ec2b81c97fd9
2016-12-15 14:06:38 +05:30
Ben Sander 783ac156ce Add additional controls for forcing serialization and blocking.
Move HIP_COHERENT_HOST_ALLOC so it is read once at init time.
Add HIP_LAUNCH_BLOCKING_KERNELS, HIP_API_BLOCKING.
Update docs on debug and chicken bits.

Conflicts:
	src/hip_hcc.cpp
2016-12-02 18:03:59 -06:00
Ben Sander a990806b6c Tweak profiler doc
Change-Id: I7be7c44467510e38ae850e1e0a14209a3b4380f1
2016-11-25 14:06:59 -06:00
Ben Sander ddb1845ab5 Add toc to hip_profiling.md
Change-Id: I3ae100f12686d0398a0403b78ca571382acce135
2016-11-23 08:36:08 -06:00
Ben Sander 4bcb0fac22 Improve profiler and debug documentation 2016-11-23 08:15:40 -06:00
Ben Sander 09d88d3b97 Add draft doc on profiling with hip.
Change-Id: I79727dd2500333b3f16acb381dd5852a15ed408a
2016-11-13 10:01:05 -06:00
pensun 94dfff9db2 Add documentation on threadfence_system workaround guidelines.
Change-Id: I9636a3808798f3dabe992285ce5652187cee6eb8
2016-11-09 21:36:30 -06:00
pensun 212fa7033c Update document for workaround suggestion on threadfence_system()
Change-Id: Icccab8270604a0e578a8614b9afb3f95372f4966
2016-11-02 16:08:27 -05:00
Ben Sander f7c42efa3f 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
Aditya Atluri c39b40db58 changed docs to update support for memcpyToSymbol
Change-Id: I63169cb10e64033a92dafd46930f499cdf145a8d
2016-10-20 14:05:43 -05:00
Ben Sander 403cdf93c3 Move some internal headers from "include/hip/" to src.
Change-Id: I7041bd5c803d9318979f4a7c1d658445c614691e
2016-10-18 22:27:16 -05:00
Ben Sander aa3e04cf9a Cleanup files from code review.
- Remove some stale code
- Update docs
- Correct define for __HIP_ARCH_HAS_GLOBAL_INT64_ATOMICS__

Change-Id: Ic5e3cdb8269b1c18f6d2693700b55e08c4d0080e
2016-10-15 11:51:20 -05:00
Maneesh Gupta 2e93d2d5d2 Remove incorrect executable-bit from non-executable files
Change-Id: Iacc434374721e01f7d75d0ab54bceabe0b337f54
2016-10-14 12:53:13 +05:30
Elias Konstantinidis 4c8be4c655 Added __mul24 & __umul24 documentation entry 2016-10-06 09:29:45 +05:30
Maneesh Gupta eb1fce0d77 clang-hipify -> hipify-clang in documentation
Change-Id: I86ebc8112477db0d3e09f240beb3f9222d909ee6
2016-10-05 23:07:14 +05:30
Ben Sander 8cb899ccf9 Update docs (supported env vars). 2016-10-05 12:18:42 -05:00
Aditya Atluri 64a1366198 updated symbol usage in docs
Change-Id: I522c793f9cfa6a912dcb4a3d0044e94de3d3cd0e
2016-10-01 13:41:09 -05:00
Ben Sander 061bcc6a5c Small tool, doc, sample enhancements.
- Expand message when HIP version mismatch detected.
- Doc touchup.
- change sorting of hipBusBandwidth so byte results shown at top.
-

Change-Id: Ifb4e44a5fdfb65d59c4994b11e5f13385705f7e0
2016-09-26 16:36:01 -05:00
Ben Sander 6126d73778 Doc update for faq. 2016-09-22 13:05:47 -05:00
Ben Sander 7ec4b65786 Doc update: release reminder, compare hip against other porting tools. 2016-09-22 13:05:47 -05:00
Ben Sander fd67689114 Add hipStreamQuery
Change-Id: Ib0813b1065feba4fe9ae861d24cfc6f9c5f580be
2016-09-07 15:18:34 -05:00
Maneesh Gupta 462a1d97b2 hip_kernel_language.md: Document difference in arguments for binary code object
Change-Id: I96e347e8582cbd1dbc3776fbafcb9e61563538db
2016-09-04 21:39:28 +05:30
Maneesh Gupta d58d796ec5 hip_kernel_language.md: Update documentation for kernel compilation
Change-Id: I51073363c3e8a8837c5fe2ae5a04dae0d441229e
2016-09-04 16:25:02 +05:30
Ben Sander d882f4fb74 Doc and test updates.
Change-Id: I44cbd2c0de7cb692d0194d1bb8b8ae25c58d4e00
2016-09-02 09:46:59 -05:00
Ben Sander bc489dd902 Documentation review and update
Change-Id: If40d096646014d70a198db3532758028abe6a93f
2016-09-02 09:15:49 -05:00
Rahul Garg 8de15914ae Added context related difference note in hip_porting_driver_api.md
Change-Id: I5bd2884a16db51871baa7c19fa2bd63a0bd3adad
2016-09-01 11:35:42 +05:30
Aditya Atluri 6754587ed2 added how to use hipcc for kernel compilation
Change-Id: If652316272f21b90516f5a5ed88c17f4f4e77fb0
2016-08-31 13:22:28 -05:00
Ben Sander a03a71badd Update supported API list
Change-Id: Idbc941e4464d200aca7ac3382060edc08ab94ef2
2016-08-29 18:39:50 -05:00
Aditya Atluri 5dc94eb45d added docs to how to use hipModuleLaunchKernel
Change-Id: I626241552c69cdae56501371374ca8f2c6776c85
2016-08-29 15:38:04 -05:00
Aditya Atluri fa86d293bf added sample to porting driver guide
Change-Id: Ia2b54311cec617e5e2a162fd31415c8caad4a374
2016-08-29 15:25:35 -05:00
Ben Sander d76372a049 Doc update. Describe memcpytosymbol, threadfence_system workarounds 2016-08-29 13:45:20 -05:00
Ben Sander 8b8181df41 Add docs on porting driver API 2016-08-26 10:46:39 -05:00
Ben Sander 8d02cf466f Doc update to clarify supported / unsupported features 2016-08-26 10:46:39 -05:00
Rahul Garg 778bb2e78a Added initial draft for performance optimizations, started with unpinned memory transfers
Change-Id: Icbce2aec347d015bc66cc0c08f6193057bf36b4c
2016-08-22 11:37:37 +05:30
pensun 3b268c54f8 add note in hip_faq regarding workaround that add keyword of static for all forceinline functions
Change-Id: Ia13ba59b1e54df8ead5a96a952084144431ec72a
2016-08-10 11:31:13 -05:00
Ben Sander e23cd0dd3c Document workaround for parenthesis+macro+hipLaunchKernel
Change-Id: Ie04c99db92d6499ddde93028a96f9d8f72d3f992
2016-08-10 08:59:47 -05:00
Maneesh Gupta 2d6eb727e9 Merge branch 'release_0.92.00' into amd-develop
Conflicts:
	RELEASE.md
	docs/markdown/hip_faq.md

Change-Id: Ifae1b64b6255a7872dfdc885bb8fb52f622464b7
2016-08-01 10:47:25 +05:30
Ben Sander 77be00e8d3 Doc update for FAQ and future RELEASE notes
Change-Id: I7e7c32d9a19fdaea0a0e41f1d4fa4652e53640f2
2016-07-26 12:14:15 -05:00
Ben Sander b9e48d6066 Make HCC ignore register keyword
- (previously would emit a warning)
- Also tweak documentation.

Change-Id: I0f4f00f82f8cc53d420112570f2d7675535e6aea
2016-07-26 12:13:48 -05:00
Maneesh Gupta b29ed98f9a Documentation updates
Change-Id: Ia624d86915c4c96da0ac0242f767135f30ff73c6
2016-07-25 14:53:15 +05:30
pensun 6db08e5135 Add empty stubs for threadfence family routines, changes include:
- stubs and documentation in include/hcc_details/hip_runtime.h
    - stubs with "no-op" in src/hip_memory.cpp
    - document update in hip_kernel_language.md, add suggestions to
    disable L1 and L2 caches when using the threadfence routines.

Change-Id: Ic0753170f802003055bca9d7476d7f48817b98b7
2016-07-22 10:40:58 -05:00