Grafik Komit

12234 Melakukan

Penulis SHA1 Pesan Tanggal
Aditya Atluri 5845a2d8c6 Added signal management which passes stress tests
Change-Id: I7e1660a8ca2c5ee580a91f76eae9a58ca49f0457
2016-09-08 14:52:51 -05:00
foreman 8705eca425 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
2016-09-08 15:14:05 -04:00
Rahul Garg 9ad1d2c39e Removed return code related doxygen from hip_device src file
Change-Id: Iffe51b69dd6be064b7898d06e537a505e27edb0b
2016-09-08 23:12:12 +05:30
foreman fbb90f4504 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
2016-09-08 13:36:56 -04:00
Rahul Garg 817bd7270f Initial support for hipChooseDevice function
Change-Id: Iedbf5f98c96673ab701dd7539d80a77b994d296f
2016-09-08 22:37:24 +05:30
Maneesh Gupta f9c3e759e9 Directed tests: Refactor phase 1 - build HIP the right way
Change-Id: I8fcd2bcb01b12878878f50777e2cf0095fae61a1
2016-09-08 17:20:38 +05:30
Ben Sander 8022671a5e Adapt to _kernelSymbol
Change-Id: Idebb7d7e895286ce5423afdcf391e00fa8b2b94f
2016-09-07 15:48:40 -05:00
Ben Sander 43c68b20a7 Bump min required HCC version (need feature for hipStreamQuery)
Change-Id: I3d51de0527b73a88948b0263a4ba6cb90d71a280
2016-09-07 15:18:34 -05:00
Ben Sander fd67689114 Add hipStreamQuery
Change-Id: Ib0813b1065feba4fe9ae861d24cfc6f9c5f580be
2016-09-07 15:18:34 -05:00
Ben Sander 745310399d refactor ihipPreLaunchKernel phase#1
- Fix calls to HIP_INIT_API to pass all function arguments.
- Change ihipFunction to follow coding convention:
    - leading underscore for member fields,
    - camelCase for member fields.
- move kernel print function inside ihipPreLaunchKernel.
- add HIP_TRACE_API_COLOR, control color of messages.
- add ihipLogStatus wrapper to hipDeviceSynchronize()

Change-Id: I20bbb644da213f821404648945197254e3648fc9
2016-09-07 15:18:34 -05:00
foreman 8764785ce1 P4 to Git Change 1311856 by asalmanp@asalmanp-ocl-stg-pal on 2016/09/07 15:28:58
SWDEV-79278 - [OpenCL][PAL] fixing a regression in gfx9 after CL#1309875 which caused all the OCLTST tests to fail on gfx9 emulator. Don’t add any extra entry to the GfxIpDeviceInfo table as this table must match with GfxIpLevel enum (located in //depot/stg/pal/inc/core/palDevice.h).

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#11 edit
2016-09-07 15:38:56 -04:00
Aditya Atluri 26215c515d Fixed group and private memory size to AQL
Change-Id: I6e721f63fe5697b7b90a7d25add9aa024d9dc429
2016-09-07 12:57:18 -05:00
Maneesh Gupta 59698e3551 CMakeLists.txt: Change default to HIP static library
Change-Id: I9b233c6873d0a69d9aedeb1f9f3773e4258c6f44
2016-09-07 19:22:38 +05:30
foreman 6a5ec3a6b0 P4 to Git Change 1311624 by nhaustov@nhaustov_hsa on 2016/09/07 05:22:23
SWDEV-101272 - Remove call to OptimizeLLVMBitcode.

	It's no longer needed after LLVM fix https://reviews.llvm.org/D24023 .

	Reviewed by: Laurent Morichetti, German Andryeyev.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#26 edit
2016-09-07 05:29:23 -04:00
Maneesh Gupta b14e457a65 FindHIP: don't clobber CXX linker and fix some typos
Change-Id: Ie92e9d7c212491ce54f0709d291fafaeb1c479de
2016-09-07 12:38:25 +05:30
Maneesh Gupta 3cfeb3cc88 Rename hipgenisa.sh -> hccgenco.sh
Change-Id: Icfdbb35acd7e84881bd1ab7ef3c85a3109902c6a
2016-09-07 10:23:02 +05:30
foreman b750057405 P4 to Git Change 1311385 by gandryey@gera-w8 on 2016/09/06 16:51:05
SWDEV-101448 - [CQE OCL][Brahma][PERF][QR] ~21% perf drop is observed with lulesh-cl subtest of ComputeApps tests : Faulty CL # 1306133
	- Use the logic for transfer size before CL#1306133

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#124 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#10 edit
2016-09-06 17:00:06 -04:00
foreman 93e45cff4e P4 to Git Change 1311278 by jatang@jatang-opencl-hsa-stg2 on 2016/09/06 14:13:56
SWDEV-101315 - Fix PerfCounter not working under CodeXL.

	1. Need to map ORCA PerfCounter block to PAL PerfCounter block/instance.
	2. CodeXL could try to create PerfCouters that don't exist in HW, so need to handle that and return 0 as result.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#21 edit
2016-09-06 14:24:40 -04:00
foreman 59ca1d70e6 P4 to Git Change 1311277 by lmoriche@lmoriche_opencl_dev on 2016/09/06 14:11:25
SWDEV-101853 - Fix the build, add a "return NULL" after the assert.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#7 edit
2016-09-06 14:19:41 -04:00
foreman 7d5471671b P4 to Git Change 1311274 by lmoriche@lmoriche_opencl_dev on 2016/09/06 14:02:55
SWDEV-94610 - Fill the compileSize_ and compileSizeHint_ info from the LC metadata.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#13 edit
2016-09-06 14:09:20 -04:00
foreman 1c37625aa2 P4 to Git Change 1311256 by lmoriche@lmoriche_opencl_dev on 2016/09/06 13:16:58
SWDEV-101853 - roc::Kernel cleanups:
	- Remove unused classes & member functions/variables.
	- Flatten vector arguments for the HSAIL path to  remove the need for numElem_.
	- Consolidate initArguments in a single loop for the HSAIL path.
	- Use the Kernel::Argument to fill the OCL descriptor as much as possible.
	- Set the access qualifier for both buffers and images.
	- Fix the indentation and coding conventions.
	- Add new ROC_ARG_TYPE type for hidden arguments
	- Add an index_ field the roc::Kernel::Argument to record the OCL signature index for this argument, or -1 for hidden arguments
	- Handle the hidden arguments as any other argument at dispatch (now included in the hsailArgList_)
	- roc::Kernel::hsailArgAt(int) now returns the kernel argument for the given position in the OCL signature, not the position the the hsailArgList_.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#12 edit
2016-09-06 13:21:14 -04:00
foreman 73bb49eb7b P4 to Git Change 1311210 by chui@chui-cnchuiw8-ocl-hsa-stg on 2016/09/06 11:53:29
SWDEV-101383 - Back out CL1310033 as it is causing Carrizo Win 10 Sanity test to crash at ocltst module ocldx.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#553 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#172 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#61 edit
2016-09-06 12:01:14 -04:00
Maneesh Gupta 66232eb610 module_api/Makefile: Update as per newer hipgenisa.sh
Change-Id: I479c74eae00d7521434f2740ce5930e326ea05cf
2016-09-06 17:47:10 +05:30
Maneesh Gupta 0636a6e209 hipgenisa.sh: Refactor to handle multiple source files
Change-Id: Icc212c43b3bf8c33fb856cd6fc5be7bbebb38d42
2016-09-06 17:45:59 +05:30
Maneesh Gupta 3b9ec7f606 hipcc: Pass ROCM_TARGET as env to hipgenisa.sh
Change-Id: Ib55b6366ae392ca10266ffae38722776ba91f274
2016-09-06 15:46:18 +05:30
Maneesh Gupta 5c320865d2 hipgenisa.sh: Honors ROCM_TARGET env or uses default
Change-Id: Idabf77ff1610ba4adbc78cfa69eb6e87d7e94ee9
2016-09-06 15:45:11 +05:30
Maneesh Gupta 074ecd6368 hipgenisa.sh: exit if no command-line args specified
Change-Id: Ic1b532927fdbb5b9dfe6b2dd144ffad1ee2e6b16
2016-09-06 15:23:56 +05:30
Maneesh Gupta ff2de7892c hipcc: Pass ROCM_PATH via env to hipgenisa.sh
Change-Id: Ibc2dd8ce65645fd946f1a749effcd9ca0828c453
2016-09-06 15:11:17 +05:30
Maneesh Gupta 5c15558be2 hipgenisa.sh: Look for ROCM_PATH in env or use default
Change-Id: I31733cb059c82d3315376f8f65a280c5737cd2a8
2016-09-06 15:10:07 +05:30
Evgeny Mankov 01981af81d [HIPIFY] CUDA Driver API porting to HIP : Conversion types Context and Cache are added. 2016-09-05 20:26:21 +03:00
Evgeny Mankov b1094848a5 [HIPIFY] CUDA Driver API porting to HIP : Device functions support. 2016-09-05 18:05:16 +03:00
Ben Sander 0b54fd4527 Doc update.
- Add link to new driver porting guide.
- small typo

Change-Id: Ia8e25e371e17f8b4207b99e3fdfb575e59c2ebf2
2016-09-05 09:30:16 -05:00
Evgeny Mankov 9ec0987aac [HIPIFY] CUDA Driver API porting to HIP : Context functions support. 2016-09-05 13:15:49 +03:00
Evgeny Mankov 0970b596e9 [HIPIFY][LEGACY] Do not warn on warp shuffle functions. 2016-09-05 11:18:48 +03:00
Maneesh Gupta 3ce11f4896 Merge branch 'amd-develop' into amd-master
Change-Id: Ia1320caf8bf1f32f7377639b1b9db8fd26f23113
2016-09-04 21:40:50 +05:30
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 40a392800a module_api sample: Remove unnecessary platform checks
Change-Id: I1d531264d51ff952a3a68d554672b6d293e23379
2016-09-04 21:25:14 +05:30
Maneesh Gupta fa83be6004 Update README with branching and tagging information
Change-Id: I2d801ef4f0abe6eb0280f86443bc55725701252a
2016-09-04 21:15:49 +05:30
Rahul Garg bb5f15e199 Removed NVCC check for hipCtxXXX functions in module_api/runKernel.cpp
Change-Id: I2bdd4fadf41063ec60626f1850e16f8307ebe6b5
2016-09-04 20:37:29 +05:30
Maneesh Gupta 0f626d291c Merge branch 'amd-develop' into amd-master
Change-Id: Id5a5d8417ff3de9d55bc42a4ee6c6b367e1ebeff
2016-09-04 16:28:05 +05:30
Maneesh Gupta 34a3766ae3 module_api: HCC path no longer needs mangled kernel name
Change-Id: I4c1cb218bfdd05c9fba57276167e3e4205b93614
2016-09-04 16:26:16 +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
Maneesh Gupta 2c11ce3515 hipgenisa.sh improvements
- hipgenisa now unmangles kernel names
 - hipgenisa now uses a random temporary directory

Change-Id: I1d0204336bd8042dcf3f39c8f905fcceebd6b785
2016-09-04 16:20:49 +05:30
Maneesh Gupta 257774f8f0 module_api sample: no longer need EXTERN_C workaround
Change-Id: Ida087d832df8e1f3620b38f920ec2853aad641c8
2016-09-04 13:49:43 +05:30
Maneesh Gupta 16c61fd6e2 hipgenisa.sh: handle extern C on HCC path
Change-Id: I2daf09d2cb323ab34653988b668e8bd89f6db94a
2016-09-04 13:48:44 +05:30
foreman 9951309118 P4 to Git Change 1310723 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/09/04 03:00:08
SWDEV-2 - Change OpenCL version number from 2216 to 2217.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1963 edit
2016-09-04 03:09:27 -04:00
Maneesh Gupta fa85974c47 module_api: workaround to use vcpy_kernel.cpp for NV path
Change-Id: Ib4868bf02c64070e846c19427c39289609909466
2016-09-04 12:35:08 +05:30
pensun 793dc2bce0 For module_api sample, use vcpy_kernel.cu to generate ptx file for NV path.
Change-Id: Id0033678834288c4eaa56b12e7d447119be99deb
2016-09-03 21:06:58 -05:00
foreman d914798797 P4 to Git Change 1310684 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/09/03 03:00:09
SWDEV-2 - Change OpenCL version number from 2215 to 2216.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1962 edit
2016-09-03 03:09:06 -04:00
Ben Sander 3c90766c70 remove printf
Change-Id: I36510a7ff0425f05a6d0b9c65cda4397c9cc2d95
2016-09-02 17:50:31 -05:00