Graphe des révisions

12735 Révisions

Auteur SHA1 Message Date
Aditya Atluri b7a79b9226 Fixed failing tests
[ROCm/clr commit: ed17e3489e]
2016-03-30 13:00:44 -05:00
foreman 9ae8aa43c3 P4 to Git Change 1252764 by jatang@jatang-opencl-hsa-stg1 on 2016/03/30 10:16:09
SWDEV-86378 -  Apply the sDMA L2T work-around to T2L as well.

	HW confirms T2L also has issues.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#164 edit


[ROCm/clr commit: 4b7a3bd5b4]
2016-03-30 10:21:54 -04:00
Aditya Atluri 19763f8f1e Revert to multiple output files than single .a lib
[ROCm/clr commit: b2b3eec95c]
2016-03-30 07:54:18 -05:00
Aditya Atluri 266a91d241 C guarding the apis
[ROCm/clr commit: c4d93cf3db]
2016-03-30 06:08:50 -05:00
Aditya Atluri 63c93f2f66 Moved flag to hip_runtime.h
[ROCm/clr commit: e476d4e8f0]
2016-03-30 03:32:39 -05:00
Maneesh Gupta 5222e17785 Implement more complex HCC, HSA directory selection logic
[ROCm/clr commit: 80b176d540]
2016-03-30 13:58:38 +05:30
foreman 73a1e5c06a P4 to Git Change 1252646 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/30 03:00:11
SWDEV-2 - Change OpenCL version number from 2078 to 2079.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1825 edit


[ROCm/clr commit: f9492c32c8]
2016-03-30 03:11:23 -04:00
Aditya Atluri 7fbdb9fd5c Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 00bf37d28d]
2016-03-29 11:18:09 -05:00
Ben Sander b8f2f4c45c rename to hipMultiThreadDevice for consistency
[ROCm/clr commit: 3b1cd2d626]
2016-03-29 17:33:29 -05:00
Ben Sander 875a8a2c84 Test improvements
- partition hipThreadSafeDevice into smaller pieces.
- Add debug to hipMultiThreadStream.
- print more precision when mismatch detected.
- enable more tests in CMakeFiles.txt.


[ROCm/clr commit: 98a766ba75]
2016-03-29 17:29:31 -05:00
Ben Sander f1295bc03d Inline some new string functions.
[ROCm/clr commit: e7b15a53da]
2016-03-29 17:28:27 -05:00
Ben Sander 36f2f683db Add runtime switch to control HIP_ATP_MARKER
Only generate the function strings if requested at
compile-time && runtime.


[ROCm/clr commit: e22925be22]
2016-03-29 17:27:30 -05:00
Ben Sander 829fee518f include codexl marker path, if found
[ROCm/clr commit: 57783aad2d]
2016-03-29 17:26:44 -05:00
Ben Sander e5ac79daca Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: de3391637f]
2016-03-29 17:12:36 -05:00
Ben Sander d4660e232d Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 03c0fcbfec]
2016-03-29 14:43:35 -05:00
Aditya Atluri 0e82685f85 Update README.md
[ROCm/clr commit: ae2b136bfe]
2016-03-29 14:23:41 -05:00
Aditya Atluri 5cd8dc9f45 Update README.md
[ROCm/clr commit: 573d331ab8]
2016-03-29 14:11:10 -05:00
Aditya Atluri 98f1e31c9b Calling intrinsics from global kernel
[ROCm/clr commit: 3b3db60c25]
2016-03-29 11:17:55 -05:00
Aditya Atluri b22b03fba3 added host flags to hipDeviceBody test
[ROCm/clr commit: e652426715]
2016-03-29 09:27:57 -05:00
Aditya Atluri f17131c0d4 Added tests for running device code from a difference source file
[ROCm/clr commit: 4320e5c574]
2016-03-29 09:22:31 -05:00
foreman 4a872f29ad P4 to Git Change 1252154 by emankov@em-hsa-amd on 2016/03/29 07:23:56
SWDEV-79309 - Compiler Lib memory consumption decreasing by aclQueryInfo refactoring.

	[Problem] Memcpy on every aclQueryInfo for metadata. As a result an unreasonable memory consumption on every compiled binary (on Runtime).

	[Solution] Once extracted kernel Metadata is cached, secondary extraction doesn't happen. Blits are also affected.

	[Testing] precheckin
	http://ocltc.amd.com:8111/viewModification.html?modId=69016&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	[Reviewers] Stanislav Mekhanoshin, Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/include/v0_8/aclStructs.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/include/v0_8/aclTypes.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#92 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclStructs.h#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclTypes.h#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#24 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLAssumptionCheck.cpp#49 edit


[ROCm/clr commit: 511c6a5de8]
2016-03-29 07:35:41 -04:00
Ben Sander d6a2f89b21 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
Conflicts:
	include/hcc_detail/trace_helper.h


[ROCm/clr commit: ba114a238f]
2016-03-29 05:56:03 -05:00
Aditya Atluri 98e2f833b2 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 73ecbf5c95]
2016-03-29 02:28:20 -05:00
streamhsa 73e7a4a166 change makefile for samples
[ROCm/clr commit: a629d4975f]
2016-03-29 16:02:09 +08:00
Aditya Atluri 84204d06fe Not using classes inside headers
[ROCm/clr commit: 8e437d0565]
2016-03-29 02:27:51 -05:00
foreman b955b34499 P4 to Git Change 1252028 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/29 03:00:11
SWDEV-2 - Change OpenCL version number from 2077 to 2078.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1824 edit


[ROCm/clr commit: 31bc8d0dbe]
2016-03-29 03:11:36 -04:00
Ben Sander 34f21e1343 Tweak thread-safe implementation.
introduce LockedAccessor option so destructor does not unlock.
Allows locks to exist across function boundaries, required
for hipLaunchKernel macro which has several unusual requirements.
(including C comppatibility, must use variadic macro, more).


[ROCm/clr commit: 1b2ab173c1]
2016-03-28 21:41:47 -05:00
Siu Chi Chan 6898cd6f02 Merge pull request #19 from AMDComputeLibraries/fix_static_lib_link
Various fixes in HIP exposed by linking to static library

[ROCm/clr commit: e417fe8536]
2016-03-28 22:40:04 -04:00
scchan 4006b37ac5 remove the --hipcc_explicit_lib
[ROCm/clr commit: 5e76b13cec]
2016-03-28 13:56:23 -05:00
scchan 33cd595251 turn off ONE_OBJECT_FILE since we are building a static library
[ROCm/clr commit: 3aa542e21b]
2016-03-28 12:56:15 -05:00
Maneesh Gupta 34a75cc4da Fixed cmake not honoring user specified HIP_INSTALL_DIR
[ROCm/clr commit: f59b9e0aaf]
2016-03-28 22:23:27 +05:30
Maneesh Gupta f2860e70c2 Improve cmake settings
[ROCm/clr commit: 72751fa87c]
2016-03-28 21:55:03 +05:30
Ben Sander 96412bdea2 Stream thread-safe checkpoint.
Moving data structures to critical / protected section.


[ROCm/clr commit: 6cab7862ae]
2016-03-28 09:46:40 -05:00
scchan b8e26e301e add inline keyword to all the template functions
[ROCm/clr commit: 5afa5d23fc]
2016-03-28 09:18:38 -05:00
Ben Sander 03b0976e54 fix ihipLogStatus so status arg only evaluated once
[ROCm/clr commit: 4f8786c66a]
2016-03-28 05:23:53 -05:00
Ben Sander 77a720aafc Stream thread-safe checkpoint.
[ROCm/clr commit: ecd56e1400]
2016-03-28 04:22:20 -05:00
foreman 128ac2dcbd P4 to Git Change 1251574 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/28 03:00:10
SWDEV-2 - Change OpenCL version number from 2076 to 2077.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1823 edit


[ROCm/clr commit: 45f9afde22]
2016-03-28 03:12:29 -04:00
foreman 3aa800b50d P4 to Git Change 1251523 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/27 03:00:11
SWDEV-2 - Change OpenCL version number from 2075 to 2076.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1822 edit


[ROCm/clr commit: 92fb88b700]
2016-03-27 03:06:16 -04:00
Ben Sander ef1314a91c Improve debug print messages.
- Remove "call-to-call" for hipStreamCreate and hipEventCreate.
  These now call an internal functions rather than calling through
  hipStreamCreateWithFalgs and hipEventCreateWithFlags.

- Add HIP_INIT_API for more functions so they trace correctly.

- Use stream#DEVICE.STREAMID in debug messages via new specialization in
  tace_helper.


[ROCm/clr commit: 82f57ca610]
2016-03-26 12:35:04 -05:00
Ben Sander 0b0c55af04 Protect _stream_id as well.
- move lockedaccessor
- clean up device class.
- add simple ihipDevice constructor.


[ROCm/clr commit: c47b5b04ef]
2016-03-26 11:45:25 -05:00
Ben Sander e16e848d55 Make ihipDevice_t thread-safe.
Move critical data into separate class and protect with LockAccessor
wrapper class.

For device, the streams list is the critical data since it is modified when
streams are created or destroyed.   The streams list is accessed in
several places including when synchronizing across all streams on the
device (ie from the default stream).
Other device data is set once by the device cosntructor and is not critical
so

All functions which acquire the LockAccessor now named with "locked_" prefix.


[ROCm/clr commit: 4dd77c6612]
2016-03-26 10:46:20 -05:00
dfukalov 2d44c66b9c removed FileCheck dependency & significantly improved test coverage
[ROCm/clr commit: 666a887a1e]
2016-03-26 16:01:49 +03:00
foreman f4357ba75d P4 to Git Change 1251492 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/26 03:00:15
SWDEV-2 - Change OpenCL version number from 2074 to 2075.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1821 edit


[ROCm/clr commit: 7b06fe12ff]
2016-03-26 03:11:41 -04:00
Ben Sander 8c78956dcc Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 18d3dc606b]
2016-03-25 17:12:13 -05:00
Ben Sander bdc842f7f2 describe HIP_PLATFORM
[ROCm/clr commit: f8f839d9dd]
2016-03-25 17:11:49 -05:00
Ben Sander 8cf3f24d5c Improve automated platform detection.
If AMD GPU is installed and detected by driver, default
HIP_PLATFORM to hcc.


[ROCm/clr commit: 6d9eafa18a]
2016-03-25 17:08:34 -05:00
Aditya Atluri a2998d5b7f Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 268b316491]
2016-03-25 13:45:46 -05:00
Aditya Atluri c5f87744bb Added test for C + HIP
[ROCm/clr commit: 026aaf987f]
2016-03-25 13:45:28 -05:00
dfukalov a02be5a960 implemented -print-stats option, minor cleanup & optimizations
[ROCm/clr commit: 021138a9db]
2016-03-25 18:28:37 +03:00
pensun b276e6b0d7 fix query of memoryClockRate and memoryBusWidth for both NV and HCC path
[ROCm/clr commit: a8ae62d399]
2016-03-25 09:24:08 -05:00