Commit grafiek

11608 Commits

Auteur SHA1 Bericht Datum
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
foreman bb8ebe5ed4 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


[ROCm/clr commit: fe6ef85918]
2016-09-12 16:12:26 -04:00
foreman 9a0b935753 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


[ROCm/clr commit: c828fa8498]
2016-09-11 15:30:45 -04:00
foreman 120b9b53c7 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


[ROCm/clr commit: 8bb15b463b]
2016-09-10 22:46:52 -04:00
foreman 2a99a81d61 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


[ROCm/clr commit: 70ef99eb26]
2016-09-09 12:02:35 -04:00
foreman c832965ae1 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


[ROCm/clr commit: ebb29b8d36]
2016-09-09 11:40:57 -04:00
Aditya Atluri 0becc80ce6 Added async memcpy driver api for nvcc backend
Change-Id: If401fc949b834c883cff9de74adb0d532a0fd942


[ROCm/clr commit: bbead42cb0]
2016-09-09 10:25:57 -05:00
Aditya Atluri 7373e61507 Added async memcpy driver api
Change-Id: I90e8a078d668a408e79f9e1142e7534771467a4f


[ROCm/clr commit: c3ab5a8df8]
2016-09-09 10:21:52 -05:00
Evgeny Mankov a49f1dded6 [HIPIFY] CUDA Driver API porting to HIP : Stream functions support.
[ROCm/clr commit: 8abdb1dd54]
2016-09-09 11:46:35 +03:00
Evgeny Mankov 9eecef593b [HIPIFY] CUDA Driver API porting to HIP : Module functions support.
[ROCm/clr commit: 3f575ad2b7]
2016-09-09 11:31:50 +03:00
Evgeny Mankov 8fd800dce2 [HIPIFY] CUDA Driver API porting to HIP : Event functions support.
[ROCm/clr commit: 1567733097]
2016-09-09 11:15:11 +03:00
Evgeny Mankov 9d77a26ad6 [HIPIFY] CUDA Driver API porting to HIP : Conversion type Driver and driver functions are added.
[ROCm/clr commit: 04fccd6189]
2016-09-09 11:10:19 +03:00
Maneesh Gupta b29be4201e Directed tests: Guard unsupported host math functions on NVCC
Change-Id: I1145c0e45a913167c82ddc593d8a9027f237c7ba


[ROCm/clr commit: 4ce3ac5b85]
2016-09-09 12:07:15 +05:30
Maneesh Gupta 905a3a2211 Remove redundant API hipDeviceGetFromId from HCC path
Change-Id: Id6b4f1374b12cb3949d725f0859425cd8de6d868


[ROCm/clr commit: 0c56f707f0]
2016-09-09 12:06:19 +05:30
Maneesh Gupta 56e62228af Directed tests: Fix hipCtx_simple on NVCC
The test was using hipDeviceGetFromId instead of hipDeviceGet

Change-Id: Ia035ded5212f2659d5c8f01e9f6fcec514fe7ccb


[ROCm/clr commit: f8f75faba3]
2016-09-09 12:04:32 +05:30
Maneesh Gupta b5c5d0fe22 Directed tests: hipDynamicShared now compiles on NVCC
NVCC does not support template in extern __shared__. Compilation is
fixed but test still does not run on NVCC.

Change-Id: I427c9170812401460d60ef8e3246525eeda38514


[ROCm/clr commit: df0b908937]
2016-09-09 12:01:41 +05:30
Maneesh Gupta f74dcb94bd directed tests: Show HIP build errors during configure stage
Change-Id: I068b668902cf54286ce5bb4c6c718b643bfa5754


[ROCm/clr commit: f9ecb8d67e]
2016-09-09 11:01:10 +05:30
foreman a030ebfe49 P4 to Git Change 1312587 by cpaquot@hog-ocl on 2016/09/08 19:46:03
SWDEV-96354 - Wrong usage of hsaImageData_ and deviceMemory_.

	Use hsaImageData_ as the original pointer before alignment and only for that purpose. The deviceMemory_ is where the data is located. No one ever needs to use hsaImageData_ really. This is only an issue with tiled images

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/11331/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#4 edit


[ROCm/clr commit: 51948f577c]
2016-09-08 20:34:24 -04:00
foreman 376b1f2bfa P4 to Git Change 1312581 by lmoriche@lmoriche_opencl_dev on 2016/09/08 19:11:07
SWDEV-102033 - [OCL-LC-ROCm] Change runtime metadata KeyArgKind
	- Required runtime changes to use the new hidden argument metadata

Affected files ...

... //depot/stg/opencl/drivers/opencl/make/llvm.git/llvmlibs#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/amdgpu_metadata.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/amdgpu_metadata.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#14 edit


[ROCm/clr commit: 8fadd2c115]
2016-09-08 20:29:42 -04:00
foreman b602575d44 P4 to Git Change 1312566 by lmoriche@lmoriche_opencl_dev on 2016/09/08 18:25:02
SWDEV-94610 - Make sure each kernarg segment sits on a different cache line (align the kernargs on cache lines at minimum). Minor misc cleanups.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#13 edit


[ROCm/clr commit: 3a61b24dd5]
2016-09-08 19:52:04 -04:00
Aditya Atluri a482dd2ae0 Added signal management which passes stress tests
Change-Id: I7e1660a8ca2c5ee580a91f76eae9a58ca49f0457


[ROCm/clr commit: 5845a2d8c6]
2016-09-08 14:52:51 -05:00
foreman aaa1bf6ee7 P4 to Git Change 1312399 by skudchad@skudchad_test_win_opencl2 on 2016/09/08 15:10:25
SWDEV-101383 - [RS_DVR][MGPU] Slave GPU is blocked from going into BACO when DVR process is active (no recording or instant replay)
	- Fix a memory leak
	- Also make sure to use VALIDATE_ONLY flag properly as bindExternalDevice can be called even during context creation for which we cant close the adaper

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/11330/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#555 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#174 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#62 edit


[ROCm/clr commit: 8705eca425]
2016-09-08 15:14:05 -04:00
Rahul Garg 58ef4a1880 Removed return code related doxygen from hip_device src file
Change-Id: Iffe51b69dd6be064b7898d06e537a505e27edb0b


[ROCm/clr commit: 9ad1d2c39e]
2016-09-08 23:12:12 +05:30
foreman d773c9dc27 P4 to Git Change 1312342 by rili@rili-opencl-pal-stg on 2016/09/08 13:27:45
SWDEV-101790 -  Cherry-pick CL#1293292 from 16.20.1010
	                            Support DriverStore in OCL

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#278 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#554 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#173 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/backend.h#14 edit


[ROCm/clr commit: fbb90f4504]
2016-09-08 13:36:56 -04:00
Rahul Garg be1dd62dd7 Initial support for hipChooseDevice function
Change-Id: Iedbf5f98c96673ab701dd7539d80a77b994d296f


[ROCm/clr commit: 817bd7270f]
2016-09-08 22:37:24 +05:30
Maneesh Gupta 67645f2224 Directed tests: Refactor phase 1 - build HIP the right way
Change-Id: I8fcd2bcb01b12878878f50777e2cf0095fae61a1


[ROCm/clr commit: f9c3e759e9]
2016-09-08 17:20:38 +05:30
Ben Sander 70a3ad883c Adapt to _kernelSymbol
Change-Id: Idebb7d7e895286ce5423afdcf391e00fa8b2b94f


[ROCm/clr commit: 8022671a5e]
2016-09-07 15:48:40 -05:00
Ben Sander c9463f973a Bump min required HCC version (need feature for hipStreamQuery)
Change-Id: I3d51de0527b73a88948b0263a4ba6cb90d71a280


[ROCm/clr commit: 43c68b20a7]
2016-09-07 15:18:34 -05:00