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

13197 Коммитов

Автор SHA1 Сообщение Дата
foreman 383e97425b 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
2016-09-20 20:53:50 -04:00
foreman e9c1fb06c7 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
2016-09-20 18:02:57 -04:00
foreman f6529ae04a 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
2016-09-20 17:22:31 -04:00
foreman 34e0d956ec 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
2016-09-20 12:56:44 -04:00
Maneesh Gupta 6b9d8e85a7 FindHIP: Fix bug in parsing source files and options
Change-Id: Ib1c793dd19d61b387da3f5894c4e37c66f02b753
2016-09-20 20:46:49 +05:30
Maneesh Gupta 3e18b5fdf3 FindHIP: Fix bug in handling HIP_SOURCE_PROPERTY_FORMAT
Change-Id: I6f19c487b222039e2653a8de1930c02da64318ed
2016-09-20 14:03:51 +05:30
Maneesh Gupta f9a9936c49 FindHIP: Fix formatting issues
Change-Id: I169266fe34fec1d0619b299733e9997eddc16d90
2016-09-20 12:53:55 +05:30
foreman c2b57553dc 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
2016-09-20 03:20:15 -04:00
foreman d793001561 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
2016-09-20 01:52:18 -04:00
foreman b65af32fe1 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
2016-09-19 20:13:01 -04:00
foreman 0dd7a03954 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
2016-09-19 12:13:23 -04:00
Rahul Garg 8842a0d5b8 Added return error code hipErrorInvalidValue in hipMemGetInfo
Change-Id: If01b012136b655ff8eb4878eb703dfe3e6a36530
2016-09-17 23:54:20 +05:30
pensun e11b6144e4 Revert "resolve merge conflict"
This reverts commit 213fd6c961.
2016-09-16 16:04:48 -05:00
pensun 213fd6c961 resolve merge conflict
Change-Id: I041730d4208ae1865820f5df73a67ba60fd4bc3c
2016-09-16 11:13:43 -05:00
Maneesh Gupta 9df8d9b399 Merge branch 'amd-develop' into amd-master
Change-Id: I9f284502dc764b7ad39bd9bc8a40ea7404d0391e
2016-09-16 15:31:56 +05:30
Maneesh Gupta 70a1a498f6 Some more event API documentation fixes
Change-Id: I159706e6771bec5270dda81800c1c6fd5f13d254
2016-09-16 15:26:58 +05:30
Maneesh Gupta 1dc1c056d4 Fix typo in comment
Change-Id: I217012e10d8e5322aa0dc7dd5915be10df35fb53
2016-09-16 15:18:17 +05:30
Maneesh Gupta b14d2c8c8e Updates to doxygen documentation for HIP Event APIs
Change-Id: Ic2e4a5725aebca14ac824da43436aacd0fe0a45c
2016-09-16 15:06:54 +05:30
Maneesh Gupta f51b5dda0c Fix fence functions doxygen group
Change-Id: I222eecb0eb0174b9f19e15b16c1ee06b7ba1e67e
2016-09-16 15:06:54 +05:30
Rahul Garg 5b0a4eeaba Updated error codes in Memory APIs
Change-Id: I328090db929867fd3500fc471b69f86c6f595912
2016-09-16 14:59:08 +05:30
Rahul Garg 58a828ede5 Corrected wrong error code name in memory APIs
Change-Id: I16a8ebf6d530f2e7d266a1a63a76ba7b9710c8c1
2016-09-16 14:14:45 +05:30
Rahul Garg cb3bff0a0d Partial updates of error codes for Memory APIs
Change-Id: If924867cc62f56dc9eaf81f5499ba66f417c393a
2016-09-16 12:59:41 +05:30
Maneesh Gupta 4ceb73baa1 Ignore .* files again
Change-Id: Idf430bea898537df2cdef11796b12e52fa4cd9c6
2016-09-16 12:39:33 +05:30
Rahul Garg 6139d5f587 Added further properties in hipChooseDevice
Change-Id: I8f7f5800e8a95873318a534f09e75e037ad31b06
2016-09-16 11:18:34 +05:30
Rahul Garg 2c1bd4bd10 HIP/NVCC path for hipChooseDevice
Change-Id: I64690d7df1f5493e067c7ff5e3b39a10fcf323bb
2016-09-16 11:15:03 +05:30
Maneesh Gupta 730268e087 FindHIP: Initial support for HIP_ADD_LIBRARY
Change-Id: Ic8b93c2a9daff2dddb3a94b62981d3a1f03afd5c
2016-09-16 10:17:27 +05:30
Maneesh Gupta 2c3ce272e6 FindHIP: determine HIP_PLATFORM at build time instead of compile time
Change-Id: Icb99d23f2874c4c15771641d7e3e91bb5c918f27
2016-09-16 10:16:34 +05:30
Aditya Atluri 8faf2ed7e3 added vimrc for current project
1. Added vimrc config file for HIP
2. Corrected square sample indent

Change-Id: I3e1d92403571148fe6825db6ad63ad925ae69519
2016-09-15 11:40:17 -05:00
Aditya Atluri 6cb5a13a2b added more error codes to hipErrorGetString
Change-Id: I80c675905d94813502040fd0caa07985fa8c7dcc
2016-09-15 11:28:18 -05:00
Aditya Atluri 2c12394d52 added new error reporting case
Change-Id: I5f0a37dbe396412f5602d04df19d538e451c2696
2016-09-15 10:50:26 -05:00
Maneesh Gupta 4b1c7eed8a Fixed broken HIP build on NVCC path
Change-Id: Iae9d7ba0c789475681b382c8af18bb9bd6156a52
2016-09-15 17:02:37 +05:30
Rahul Garg d3aff68f37 Partial update of memory APIs for doxygen documentation
Change-Id: I7865f4591c7f64b2a21702c35f6233b845e7c403
2016-09-14 12:53:08 +05:30
foreman 0495f895a2 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
2016-09-13 16:16:35 -04:00
Maneesh Gupta 33fe29ae9f Directed tests: Remove support for HIP_BUILD_LOCAL=0
Change-Id: Ib73845ac8ea0507ca8e476995aa8c237b11d0ccf
2016-09-13 20:40:19 +05:30
Maneesh Gupta d85012df42 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
2016-09-13 20:11:33 +05:30
Evgeny Mankov 50786a4b70 [HIPIFY] CUDA Driver API porting to HIP : Init and Memory functions support. 2016-09-13 15:11:21 +03:00
Rahul Garg 9155e1f2fd Partial- Doxygen related changes for Memory APIs
Change-Id: I7ccc143571e0b26c16c70262565d6e69d6e7b6b5
2016-09-13 17:33:11 +05:30
Rahul Garg c6808ddc0e Updated Doxygen related documentation for Error APIs
Change-Id: I16873503d8e96df91831e2a0503835a1ff0220e3
2016-09-13 16:54:46 +05:30
foreman a1009a5d11 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
2016-09-12 23:23:59 -05:00
foreman 7239172265 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
2016-09-12 23:08:18 -04:00
Aditya Atluri e1d00da7d2 Cleaned doxygen comments for device management runtime apis
Change-Id: I8fbba7d997589a67218cfaa132c598ff750ac544
2016-09-12 21:06:54 -05:00
foreman 978a25ba95 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
2016-09-12 16:43:09 -05:00
foreman 64ed800f46 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
2016-09-12 17:30:21 -04:00
foreman fe6ef85918 P4 to Git Change 1313439 by lmoriche@lmoriche_opencl_dev on 2016/09/12 16:05:39
SWDEV-94610 - Revert to the HSA 1.0 API for now.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#16 edit
2016-09-12 16:12:26 -04:00
foreman c828fa8498 P4 to Git Change 1313121 by lmoriche@lmoriche_opencl_dev on 2016/09/11 15:21:47
SWDEV-94611 - [OCL-LC-ROCm] Use GFX IP for device name. Set the name to "gfx[M][m][s]" (M:major,m:minor,stepping). Removed the device name strings from the DeviceInfo table. Keep the machineTarget_ field until the compiler is changed to accept gfxip strings.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#15 edit
2016-09-11 15:30:45 -04:00
foreman 8bb15b463b P4 to Git Change 1313106 by lmoriche@lmoriche_opencl_dev on 2016/09/10 22:38:21
SWDEV-94644 - Run prepare-builtins from the modules build directory, instead of right before generating the include files. Renamed the files to match the opensource build names (except for the .amdgcn suffix). Automatically generate a single include file for all libraries.

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#54 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/irif/build/Makefile.irif#7 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/ockl/build/Makefile.ockl#8 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/oclc/build/Makefile.oclc#10 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/ocml/build/Makefile.ocml#8 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/opencl/build/Makefile.opencl#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#30 edit
2016-09-10 22:46:52 -04:00
foreman 70ef99eb26 P4 to Git Change 1312856 by lmoriche@lmoriche_opencl_dev on 2016/09/09 11:52:59
SWDEV-94610 - Build fix for the HSAIL Runtime Foundation build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#29 edit
2016-09-09 12:02:35 -04:00
foreman ebb29b8d36 P4 to Git Change 1312846 by gandryey@gera-w8 on 2016/09/09 11:33:02
SWDEV-86035 - Add PAL backend to OpenCL
	- Add (PAL) suffix to the driver version

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#556 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#21 edit
2016-09-09 11:40:57 -04:00
Aditya Atluri bbead42cb0 Added async memcpy driver api for nvcc backend
Change-Id: If401fc949b834c883cff9de74adb0d532a0fd942
2016-09-09 10:25:57 -05:00
Aditya Atluri c3ab5a8df8 Added async memcpy driver api
Change-Id: I90e8a078d668a408e79f9e1142e7534771467a4f
2016-09-09 10:21:52 -05:00