提交图

13222 次代码提交

作者 SHA1 备注 提交日期
foreman 6e099aabfb P4 to Git Change 1281189 by jatang@jatang-opencl-hsa-stg2 on 2016/06/17 15:16:29
SWDEV-1 - OCL PerfCounter on PAL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/computeCmdBuffer.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/computeCmdBuffer.h#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6ComputeCmdBuffer.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6ComputeCmdBuffer.h#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6PerfCounter.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6PerfTrace.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#12 edit
2016-06-17 15:58:45 -04:00
foreman 2300414425 P4 to Git Change 1281101 by smekhano@stas-rampitec-hsa on 2016/06/17 13:42:09
SWDEV-95698 - Complib: set data layout string from the subtarget in codegen
	This logic was broken since llvm 3.6 merge and datalayout was not set as supposed.
	This results in a different compilation results with complib and llc.
	In addition that leads to the suboptimal codegen.

	Testing: smoke, precheckin, llc_opt, ocl_features, vec_ldst, ocl_sdk_aoc2_compare_main
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/ocl/regression/95698/calcweight-nounroll-min.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_regression.tlst#37 edit
2016-06-17 13:49:36 -04:00
Aditya Atluri c07646fddd added copyright
Change-Id: Ic77c09ff11e031836f4c3d66c9b8ba1894d2e374
2016-06-17 11:51:36 -05:00
Maneesh Gupta 275c5516b6 hipLaunchKernel supports empty kernel with no arguments
Change-Id: Iaa46ced7fe0e3d72734d02250dfb48b98bef615d
2016-06-17 14:11:46 +05:30
foreman 90d81a61cc P4 to Git Change 1280856 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/17 03:00:11
SWDEV-2 - Change OpenCL version number from 2147 to 2148.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1894 edit
2016-06-17 03:11:45 -04:00
Aditya Atluri 75fc024308 added bessel nth order function
Change-Id: I18a64d894dda9330b39638535dfafd7ce31bb968
2016-06-17 09:22:23 +05:30
Ben Sander debddd9b45 Resolve cmake infinite loop issue
Change-Id: I8af4eb8dee754c97b72c108d4613071b0de023bd
2016-06-16 19:43:07 -05:00
Ben Sander 7492351a3c Add NVCC implementation for hipPeeakAtLastError 2016-06-16 09:38:34 -05:00
Ben Sander dbffc7bba2 remove old KERNELBEGIN/KERNELEND macros 2016-06-16 09:38:07 -05:00
Ben Sander c2f9fb32a1 Add include guards for HIP_PLATFORM_NVCC 2016-06-16 09:37:10 -05:00
Ben Sander 46e27c7568 Update launch_bounds test 2016-06-16 09:29:03 -05:00
Ben Sander 71b9369256 Add first steps for CMake test hierarchy + initial launch_bounds. 2016-06-16 08:41:32 -05:00
Maneesh Gupta bdfd943b4a Add compiler annotations to make_ functions
Change-Id: Ic16cfe402dc5cb387b1b63ad311ce8b57ea07361
2016-06-16 16:18:35 +05:30
foreman 32e6cea52f P4 to Git Change 1280472 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/16 03:00:10
SWDEV-2 - Change OpenCL version number from 2146 to 2147.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1893 edit
2016-06-16 03:06:48 -04:00
Ben Sander 6a2a140f34 NVCC improvements.
- Complete translation tables for cudaError <-> hipError_t.
- Remove some odd errors that were not correctly translated or not used.
- Add HIPCHECK_API to test infrastructure.  Used for negative testing
  an API ; if a mismatch occurs it shows the expected return error
  code.  Can also print a warning rather than error.
- Enable hipMemoryAllocate on NV system, and review error coded.
- Add hipErrorName to nvcc.

Change-Id: I680427dcf32a5796d5913cf9e7f3b4c6f6b91599

Conflicts:
	tests/src/CMakeLists.txt

Bug fixes and improved docs for hipFree and hipHostFree.

    - Passing NULL pointer initialized runtime and return hipSuccess
      (not an error like before).
    - add negative test for this. (hipMemoryAllocate, improved)
    - Match NVCC errors for invalid pointers, add to test.
    - Update hipFree and hipHostFree docs.
    - hipGetDevicePointer always set *devicePointer=NULL, even for
      invalid flags.
    - Gate shared memory usage on specific HCC work-week.

Change-Id: I533b4fd3280a3d6cdbf05eb768976f0c7506c012
2016-06-16 06:13:51 +05:30
foreman 67d9bc5d63 P4 to Git Change 1280222 by gandryey@gera-w8 on 2016/06/15 13:17:28
SWDEV-95908 - OpenCL on PAL - cl_amd_offline_devices platform extension
	- Add support for offline devices

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#5 edit
2016-06-15 13:23:18 -04:00
Aditya Atluri c4e667cf90 added more host functions and tests
Change-Id: I9904e65e14c5479ba33d836c5c0b763cb5af71e3
2016-06-15 11:45:19 -05:00
foreman ac02a393c2 P4 to Git Change 1280009 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/15 03:00:14
SWDEV-2 - Change OpenCL version number from 2145 to 2146.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1892 edit
2016-06-15 03:14:39 -04:00
Maneesh Gupta 8755f2f1bc Merge "added host device functions" into amd-master 2016-06-15 02:45:55 -04:00
Maneesh Gupta 065b2f532f Merge "cmake picks HIP version from hipcc" into amd-master 2016-06-15 01:47:18 -04:00
Maneesh Gupta 35624f33f9 Merge "hipcc supports printing HIP version" into amd-master 2016-06-15 01:46:11 -04:00
Aditya Atluri bb02880a12 added host device functions
Change-Id: I8f299752fb8dd8e8947da62e4ad88842c1c19f62
2016-06-14 18:14:44 -05:00
foreman c7522d11c4 P4 to Git Change 1279733 by gandryey@gera-w8 on 2016/06/14 15:36:09
SWDEV-95917 - OpenCL on PAL - add device info query to get the number of aysnc queues
	- Correct the number of normal compute queues
	- Fix concurrency test workloads

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/perf/OCLPerfConcurrency.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/perf/OCLPerfConcurrency.h#5 edit
2016-06-14 16:10:52 -04:00
foreman 133f24578e P4 to Git Change 1279712 by smekhano@stas-rampitec-hsa on 2016/06/14 15:07:52
SWDEV-94189 - HSA Finalizer: do not use temp files
	New memfile interface is used to emulate files in memory inside perforce build.

	Testing: smoke, precheckin, test_compiler, vp9 in chrome sandbox

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/_libelf_config.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/elf_begin.c#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/memfile.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/memfile.h#2 edit
2016-06-14 15:53:29 -04:00
Maneesh Gupta ea953cb76a cmake picks HIP version from hipcc
Change-Id: I334d9573bb6d60fe907a13083486f06504a621e4
2016-06-14 14:57:56 +05:30
Maneesh Gupta 29ca733be2 hipcc supports printing HIP version
Change-Id: I9f1cd9a29ded9d354b9ebe265dcd91b060e8fc08
2016-06-14 14:51:03 +05:30
foreman 5f184d7a8a P4 to Git Change 1279406 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/14 03:00:13
SWDEV-2 - Change OpenCL version number from 2144 to 2145.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1891 edit
2016-06-14 03:14:13 -04:00
Aditya Atluri ce52a8f70c added bessel zero and one order functions
Change-Id: I57039d54eae7207db00415bc7ba09bbf9cb6425a
2016-06-14 11:50:48 +05:30
Maneesh Gupta 1dbb2f5205 Merge "added erfinv software implementation" into amd-master 2016-06-14 02:13:01 -04:00
Maneesh Gupta 37257dda35 Merge "hipDispatchLatency: reduce iterations to 5120" into amd-master 2016-06-14 00:28:12 -04:00
Aditya Atluri 720fa16355 added erfinv software implementation
Change-Id: Ib1a5584f6c81ab3afa70f7bcbfd7780e156454e3
2016-06-14 00:09:41 -04:00
foreman bc84416db0 P4 to Git Change 1279251 by gandryey@gera-w8 on 2016/06/13 17:47:42
SWDEV-86035 - Add PAL backend to OpenCL
	- Remove ciPlus_, since OCL on PAL supports CI+ only
	- Remove singleHeap_
	- Update WaveLimiter

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#346 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#3 edit
2016-06-13 17:53:13 -04:00
foreman c2aa3ca6f8 P4 to Git Change 1279201 by gandryey@gera-w8 on 2016/06/13 15:49:49
SWDEV-95914 - OpenCL on PAL - Liquid Flash
	- Add liquid flash extension

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#5 edit
2016-06-13 15:58:22 -04:00
foreman 2d5f1bc48d P4 to Git Change 1279182 by asalmanp@asalmanp-ocl-stg-pal on 2016/06/13 15:10:34
SWDEV-79278 - [OpenCL][PAL][GFXIP9 Bring up] OCL GFXIP9 general development.Adding support for ASIC detection based on gfxLevel on PAL.  For GFXIP9+, the Asic revision on PAL is Unknown and gfxLevel should be used for ASIC detection.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#4 edit
2016-06-13 15:20:52 -04:00
Aditya Atluri ae96fe4d12 added more device functions
Change-Id: I191919060b393772ee442cc19d83479217c5a4ce
2016-06-13 11:55:12 -05:00
Maneesh Gupta 3d4bbc4224 hipDispatchLatency: reduce iterations to 5120
Change-Id: I94ae4993ff5058cf15f9487a5a528fc24c1ad5fa
2016-06-13 14:23:51 +05:30
foreman 0a6f25b703 P4 to Git Change 1278958 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/13 03:00:10
SWDEV-2 - Change OpenCL version number from 2143 to 2144.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1890 edit
2016-06-13 03:22:30 -04:00
Aditya Atluri 20b991e99a added normcdf support
Change-Id: I4887bc588589ed067eaa339d5eccd988c1c5d649
2016-06-13 10:09:37 +05:30
Maneesh Gupta 102b424ca9 Merge "Added more device functions" into amd-master 2016-06-12 23:51:02 -04:00
Maneesh Gupta fc4b55f516 Merge "added test for float device functions c6dfb0" into amd-master 2016-06-12 23:50:57 -04:00
foreman 01540fd78f P4 to Git Change 1278842 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/12 03:00:16
SWDEV-2 - Change OpenCL version number from 2142 to 2143.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1889 edit
2016-06-12 03:09:03 -04:00
foreman e985f8ac99 P4 to Git Change 1278792 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/11 03:00:11
SWDEV-2 - Change OpenCL version number from 2141 to 2142.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1888 edit
2016-06-11 03:11:11 -04:00
foreman 43e8a3bd3d P4 to Git Change 1278607 by smekhano@stas-rampitec-hsa on 2016/06/10 13:18:54
SWDEV-94189 - ORCA RT: do not use temp files

	This is memfile implementation, an interface to plug into libelf and emulate files in memory w/o any IO.
	If passed filename to open() is empty it will use in memory file, otherwise proxy it to the real file IO routine.

	This allows RT not to use temp files. Next this interface will be plugged to the finalizer.

	Testing: smoke, precheckin, conformance 2.0 reallyquick, test_compiler 1.2 with -legacy, test_compiler with -save-temps-all and -g -O0 -mem2reg=0
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf_utils.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/_libelf_config.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/build/Makefile.libelf#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/elf_update.c#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/memfile.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/memfile.h#1 add
2016-06-10 13:23:51 -04:00
Maneesh Gupta 79cb250265 Merge "fix_testcase" into amd-master 2016-06-10 12:44:05 -04:00
Aditya Atluri c7462bd524 Added more device functions
1. Added copyright for device float test
2. Added device double functions support
3. Added device double functions test
4. Corrected device function signatures in headers

Change-Id: I13c8829682c925992f5cad84062bc9f702fe4048
2016-06-10 09:46:31 -05:00
Aditya Atluri 98f02106ef added test for float device functions c6dfb0
Change-Id: I792a68610c6cfa54d6eee633c8605197bd4d2792
2016-06-10 09:03:43 -05:00
7SK 0201bf8191 fix_testcase
Change-Id: I878e79ac29b685672662db6ba8cd8d94d725d24f
2016-06-10 06:23:02 -04:00
Aditya Atluri 681c5fda12 added more float device functions
Change-Id: I106ce6de9ed8806b3699dcf0add9efc9e8583615
2016-06-10 06:22:00 -04:00
foreman 251374c4e4 P4 to Git Change 1278455 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/10 03:00:13
SWDEV-2 - Change OpenCL version number from 2140 to 2141.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1887 edit
2016-06-10 03:07:41 -04:00
7SK fda049fa5f fix_ldg
Change-Id: I53de5fa91b4f57d496ffe46787d197ae84dde4a4
2016-06-09 16:56:05 -04:00