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

12735 Коммитов

Автор SHA1 Сообщение Дата
Maneesh Gupta 8fdc6e2317 Fix bug in defining HIP_VERSION_*
Change-Id: I52fcd78386ee4b5035aba4c9bced3372b7894650


[ROCm/clr commit: e51e268f24]
2016-09-22 16:32:05 +05:30
Rahul Garg c121b8b535 Added hipRuntimeGetVersion function
Change-Id: I59ec2beacb5a94439deed0dcc8eb37d6de1cc900


[ROCm/clr commit: 86e441c769]
2016-09-22 15:21:23 +05:30
foreman 8870b4d28d P4 to Git Change 1317395 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/22 03:00:04
SWDEV-2 - Change OpenCL version number from 2221 to 2222.

Affected files ...

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


[ROCm/clr commit: 4dd808cd6d]
2016-09-22 03:11:20 -04:00
Maneesh Gupta d2cf70716b Expose HIP_VERSION_* to HIP source and HIP applications
Change-Id: I6fb0d6711642c4fad2cd89b98707ee4b548b7243


[ROCm/clr commit: ba9d9708f7]
2016-09-22 12:27:07 +05:30
foreman d6f7ddd5c5 P4 to Git Change 1317285 by lmoriche@lmoriche_opencl_dev on 2016/09/21 20:36:55
SWDEV-102540 - Fill the device info_.boardName_ field from the info returned by ROCR's HSA_AMD_AGENT_INFO_PRODUCT_NAME query.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#19 edit


[ROCm/clr commit: 0dd6aae926]
2016-09-21 20:43:02 -04:00
foreman 067afc2c02 P4 to Git Change 1317211 by gandryey@gera-w8 on 2016/09/21 16:53:02
SWDEV-102971 - [CQE OCL][OpenCL on PAL] "computer on low memory" issue observed folllowed by tdr while running few WF Conformance tests together
	- Use custom memory allocator to avoid memory grow in PAL
	- Extra clean-ups in resource alloc, including a fix for image pitch in the persistent memory

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#9 edit


[ROCm/clr commit: 48590452f1]
2016-09-21 17:08:14 -04:00
pensun 536fbebbe6 doc fix for hipStream
Change-Id: I618464c8b9ffa0a566434e72d2bc87a152884ca1


[ROCm/clr commit: d64bbacdd9]
2016-09-21 12:03:01 -05:00
foreman 6846b8ee16 P4 to Git Change 1316856 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/21 03:00:05
SWDEV-2 - Change OpenCL version number from 2220 to 2221.

Affected files ...

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


[ROCm/clr commit: fcc6d6637b]
2016-09-21 03:05:42 -04:00
foreman 70acf47d09 P4 to Git Change 1316785 by lmoriche@lmoriche_opencl_dev on 2016/09/20 20:47:40
SWDEV-94610 - Add gfx700 to the list of suported targets in HSAILProgram::linkImpl_LC. When dumping the source (-save-temps), print the options actually sent to clang as well as the options passed to OpenCL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/amdgpu_metadata.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#36 edit


[ROCm/clr commit: 383e97425b]
2016-09-20 20:53:50 -04:00
foreman 69fc4580e8 P4 to Git Change 1316718 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/20 17:52:05
SWDEV-2 - Change OpenCL version number from 2219 to 2220.

Affected files ...

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


[ROCm/clr commit: e9c1fb06c7]
2016-09-20 18:02:57 -04:00
foreman 1907fcb485 P4 to Git Change 1316686 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/20 17:08:15
SWDEV-2 - Change OpenCL version number from 2218 to 2219.

Affected files ...

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


[ROCm/clr commit: f6529ae04a]
2016-09-20 17:22:31 -04:00
foreman c54ba8bfa1 P4 to Git Change 1316519 by johtaylo@johtaylo_L7_stg on 2016/09/20 12:50:43
SWDEV-2 - Change OpenCL version number from 2217 to 2218.

Affected files ...

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


[ROCm/clr commit: 34e0d956ec]
2016-09-20 12:56:44 -04:00
Maneesh Gupta a11bf35903 FindHIP: Fix bug in parsing source files and options
Change-Id: Ib1c793dd19d61b387da3f5894c4e37c66f02b753


[ROCm/clr commit: 6b9d8e85a7]
2016-09-20 20:46:49 +05:30
Maneesh Gupta 9cdba6fcdf FindHIP: Fix bug in handling HIP_SOURCE_PROPERTY_FORMAT
Change-Id: I6f19c487b222039e2653a8de1930c02da64318ed


[ROCm/clr commit: 3e18b5fdf3]
2016-09-20 14:03:51 +05:30
Maneesh Gupta 585ed80005 FindHIP: Fix formatting issues
Change-Id: I169266fe34fec1d0619b299733e9997eddc16d90


[ROCm/clr commit: f9a9936c49]
2016-09-20 12:53:55 +05:30
foreman 75418f30e6 P4 to Git Change 1316270 by scharupa@scharupa_temp on 2016/09/20 03:14:55
SWDEV-96479 - changing tab to space as Victor pointed out

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#18 edit


[ROCm/clr commit: c2b57553dc]
2016-09-20 03:20:15 -04:00
foreman ae76b26df1 P4 to Git Change 1316221 by scharupa@scharupa_temp on 2016/09/20 01:44:43
SWDEV-96479 - bug fix, exposing atomics capabilities based on GFX IP. For Hawaii the atomics is not supported hence disabled.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#17 edit


[ROCm/clr commit: d793001561]
2016-09-20 01:52:18 -04:00
foreman b89d0bea0f P4 to Git Change 1316123 by gandryey@gera-w8 on 2016/09/19 18:22:55
SWDEV-102286 - [CQE OCL][OpenCL on PAL] 32/64 "DX9" OpenCL SDK Sample is crashing
	- Correct DX9 device binding

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#22 edit


[ROCm/clr commit: b65af32fe1]
2016-09-19 20:13:01 -04:00
foreman 321fc0490a P4 to Git Change 1315824 by asalmanp@asalmanp-opencl-stg on 2016/09/19 12:04:15
SWDEV-102417 - Forum [205433] : Memory leak with printf statement inside kernel code

	A memory leak can occur if a printf statement is inside the .cl source code but it is not used inside the __kernel code (e.g., a function inside .cl code that uses printf but never called by the __kernel). In this case compiler generates the printf metadata but printf is not used by the __kernel (i.e., the printf buffer is empty).

	To fix this issue, release the transfer buffer object before returning false in PrintfDbgHSA::output function.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/11394/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#3 edit


[ROCm/clr commit: 0dd7a03954]
2016-09-19 12:13:23 -04:00
Rahul Garg 6d1d6b9cfb Added return error code hipErrorInvalidValue in hipMemGetInfo
Change-Id: If01b012136b655ff8eb4878eb703dfe3e6a36530


[ROCm/clr commit: 8842a0d5b8]
2016-09-17 23:54:20 +05:30
pensun bc4632f143 Revert "resolve merge conflict"
This reverts commit 6c680d648b.


[ROCm/clr commit: e11b6144e4]
2016-09-16 16:04:48 -05:00
pensun 6c680d648b resolve merge conflict
Change-Id: I041730d4208ae1865820f5df73a67ba60fd4bc3c


[ROCm/clr commit: 213fd6c961]
2016-09-16 11:13:43 -05:00
Maneesh Gupta 7e0da99eed Some more event API documentation fixes
Change-Id: I159706e6771bec5270dda81800c1c6fd5f13d254


[ROCm/clr commit: 70a1a498f6]
2016-09-16 15:26:58 +05:30
Maneesh Gupta dace68aea3 Fix typo in comment
Change-Id: I217012e10d8e5322aa0dc7dd5915be10df35fb53


[ROCm/clr commit: 1dc1c056d4]
2016-09-16 15:18:17 +05:30
Maneesh Gupta d9488e163f Updates to doxygen documentation for HIP Event APIs
Change-Id: Ic2e4a5725aebca14ac824da43436aacd0fe0a45c


[ROCm/clr commit: b14d2c8c8e]
2016-09-16 15:06:54 +05:30
Maneesh Gupta 7d23b1c707 Fix fence functions doxygen group
Change-Id: I222eecb0eb0174b9f19e15b16c1ee06b7ba1e67e


[ROCm/clr commit: f51b5dda0c]
2016-09-16 15:06:54 +05:30
Rahul Garg e3f80daeef Updated error codes in Memory APIs
Change-Id: I328090db929867fd3500fc471b69f86c6f595912


[ROCm/clr commit: 5b0a4eeaba]
2016-09-16 14:59:08 +05:30
Rahul Garg fb1c7029c4 Corrected wrong error code name in memory APIs
Change-Id: I16a8ebf6d530f2e7d266a1a63a76ba7b9710c8c1


[ROCm/clr commit: 58a828ede5]
2016-09-16 14:14:45 +05:30
Rahul Garg de2c138bd7 Partial updates of error codes for Memory APIs
Change-Id: If924867cc62f56dc9eaf81f5499ba66f417c393a


[ROCm/clr commit: cb3bff0a0d]
2016-09-16 12:59:41 +05:30
Maneesh Gupta 8a90abd86f Ignore .* files again
Change-Id: Idf430bea898537df2cdef11796b12e52fa4cd9c6


[ROCm/clr commit: 4ceb73baa1]
2016-09-16 12:39:33 +05:30
Rahul Garg b16b1fdda8 Added further properties in hipChooseDevice
Change-Id: I8f7f5800e8a95873318a534f09e75e037ad31b06


[ROCm/clr commit: 6139d5f587]
2016-09-16 11:18:34 +05:30
Rahul Garg 2594f0d017 HIP/NVCC path for hipChooseDevice
Change-Id: I64690d7df1f5493e067c7ff5e3b39a10fcf323bb


[ROCm/clr commit: 2c1bd4bd10]
2016-09-16 11:15:03 +05:30
Maneesh Gupta ae7c3ac338 FindHIP: Initial support for HIP_ADD_LIBRARY
Change-Id: Ic8b93c2a9daff2dddb3a94b62981d3a1f03afd5c


[ROCm/clr commit: 730268e087]
2016-09-16 10:17:27 +05:30
Maneesh Gupta 99dfaeec96 FindHIP: determine HIP_PLATFORM at build time instead of compile time
Change-Id: Icb99d23f2874c4c15771641d7e3e91bb5c918f27


[ROCm/clr commit: 2c3ce272e6]
2016-09-16 10:16:34 +05:30
Aditya Atluri 891d5efd18 added vimrc for current project
1. Added vimrc config file for HIP
2. Corrected square sample indent

Change-Id: I3e1d92403571148fe6825db6ad63ad925ae69519


[ROCm/clr commit: 8faf2ed7e3]
2016-09-15 11:40:17 -05:00
Aditya Atluri 29a9549a47 added more error codes to hipErrorGetString
Change-Id: I80c675905d94813502040fd0caa07985fa8c7dcc


[ROCm/clr commit: 6cb5a13a2b]
2016-09-15 11:28:18 -05:00
Aditya Atluri 18756a8e91 added new error reporting case
Change-Id: I5f0a37dbe396412f5602d04df19d538e451c2696


[ROCm/clr commit: 2c12394d52]
2016-09-15 10:50:26 -05:00
Maneesh Gupta 3ea180e0fc Fixed broken HIP build on NVCC path
Change-Id: Iae9d7ba0c789475681b382c8af18bb9bd6156a52


[ROCm/clr commit: 4b1c7eed8a]
2016-09-15 17:02:37 +05:30
Rahul Garg e30f24ee85 Partial update of memory APIs for doxygen documentation
Change-Id: I7865f4591c7f64b2a21702c35f6233b845e7c403


[ROCm/clr commit: d3aff68f37]
2016-09-14 12:53:08 +05:30
foreman 75f80ffbfb P4 to Git Change 1313945 by wchau@wchau_OCL_boltzmann on 2016/09/13 15:57:45
SWDEV-94605 - [OCL-LC-ROCm] ability to load offline (and online) generated binaries using the HSA code object format

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#203 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#83 edit


[ROCm/clr commit: 0495f895a2]
2016-09-13 16:16:35 -04:00
Maneesh Gupta c9c4ce4c96 Directed tests: Remove support for HIP_BUILD_LOCAL=0
Change-Id: Ib73845ac8ea0507ca8e476995aa8c237b11d0ccf


[ROCm/clr commit: 33fe29ae9f]
2016-09-13 20:40:19 +05:30
Maneesh Gupta 60e1b0d8a9 Directed tests: Refactor phase 2
- Restore HIP_BUILD_LOCAL flag. Defaults to 1.
 - HIP_PATH is used only when HIP_BUILD_LOCAL is 0.
 - HIP_PLATFORM, HCC_HOME, HIP_LIB_TYPE are passed on to HIP build.
 - Specifying HCC_HOME automatically sets HIP_DEVELOPER=1 for HIP build.
 - Always show HIP configure step output. Output is colored magenta.
 - Fix code indentation.

Change-Id: I74f2d9c1cb04bf865313b2db6b55fda567c8e071


[ROCm/clr commit: d85012df42]
2016-09-13 20:11:33 +05:30
Evgeny Mankov f751b59d8b [HIPIFY] CUDA Driver API porting to HIP : Init and Memory functions support.
[ROCm/clr commit: 50786a4b70]
2016-09-13 15:11:21 +03:00
Rahul Garg a3481aab45 Partial- Doxygen related changes for Memory APIs
Change-Id: I7ccc143571e0b26c16c70262565d6e69d6e7b6b5


[ROCm/clr commit: 9155e1f2fd]
2016-09-13 17:33:11 +05:30
Rahul Garg 75014fb837 Updated Doxygen related documentation for Error APIs
Change-Id: I16873503d8e96df91831e2a0503835a1ff0220e3


[ROCm/clr commit: c6808ddc0e]
2016-09-13 16:54:46 +05:30
foreman 89175ce61b P4 to Git Change 1313578 by lmoriche@lmoriche_opencl_dev on 2016/09/13 00:14:36
SWDEV-94610 - Target features are only needed in the CL->IR stage. The attributes remain on the function, so they should not be set again in the IR->ISA stage.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#34 edit


[ROCm/clr commit: a1009a5d11]
2016-09-12 23:23:59 -05:00
foreman 322917f699 P4 to Git Change 1313559 by lmoriche@lmoriche_opencl_dev on 2016/09/12 22:58:58
SWDEV-94610 - Don't use the -cl-denorms-are-zero, but instead set the fp32/fp64 denorms with the target features +fp32-denormals and +fp64-denormals. fp64-denormals is always set, fp32-denormals in only set if device >= gfx900 and -cl-denorms-are-zero is not set.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#33 edit


[ROCm/clr commit: 7239172265]
2016-09-12 23:08:18 -04:00
Aditya Atluri 0b12997ca2 Cleaned doxygen comments for device management runtime apis
Change-Id: I8fbba7d997589a67218cfaa132c598ff750ac544


[ROCm/clr commit: e1d00da7d2]
2016-09-12 21:06:54 -05:00
foreman 73a973b006 P4 to Git Change 1313484 by lmoriche@lmoriche_opencl_dev on 2016/09/12 17:32:10
SWDEV-94610 - Fix the HSAIL Runtime build.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#32 edit


[ROCm/clr commit: 978a25ba95]
2016-09-12 16:43:09 -05:00
foreman e52e05fe56 P4 to Git Change 1313477 by lmoriche@lmoriche_opencl_dev on 2016/09/12 17:22:37
SWDEV-94610 - Split the HSAILProgram::hsailOptions into preprocessorOptions amd codegenOptions. Pass the codegenOptions to the IR->ISA stage (linkImpl).

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#13 edit


[ROCm/clr commit: 64ed800f46]
2016-09-12 17:30:21 -04:00