Commit Graph

12234 Commits

Author SHA1 Message Date
foreman 047ef6b06e P4 to Git Change 1281366 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/19 03:00:10
SWDEV-2 - Change OpenCL version number from 2149 to 2150.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1896 edit
2016-06-19 03:14:11 -04:00
Aditya Atluri ffcfc95360 able to pass non-dim launch parm to kernel launch
Change-Id: I0411849a27efcba597a1a9aa08be179635e04988
2016-06-18 11:28:20 -05:00
Maneesh Gupta 763dd0cb76 Disable hipMemcpyAll test
Change-Id: I58ff2e1baa91e3af335dd869ce4f6d56cd81028c
2016-06-18 15:48:42 +05:30
Maneesh Gupta 0e3128c1e5 Disable running tests that are not being built
Change-Id: Ic1ae492780f4c7c6315e815e0b3c291b354927fd
2016-06-18 15:48:14 +05:30
foreman 3457bc143a P4 to Git Change 1281349 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/18 03:00:10
SWDEV-2 - Change OpenCL version number from 2148 to 2149.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1895 edit
2016-06-18 03:10:33 -04:00
Ben Sander 20a164be6a Fix test project names
Change-Id: I105c3759208ec832f3bdf6068029b4bfa2827909
2016-06-17 15:18:57 -05:00
Ben Sander c82cd5822c Initial release notes for 0.95.
Change-Id: I6d43f643f4c6ecd4b4e4434c5cc1dfecf540a6d3
2016-06-17 15:18:57 -05:00
Ben Sander 44d117ba63 Clean up old work-week and USE_* refs
Change-Id: I929c979fa085f8e5205194cbccca46e9b5516aa9
2016-06-17 15:18:57 -05:00
Ben Sander 3feb13c8f6 Refactor directed test infrastructue.
- Add hierarchy.  Tests now live in directories, each with its own
  CMakeFiles.txt.  Reduces merge conflicts.
- Change make_hip_executable -> build_hip_executable.
- Refresh docs.
- Enable some tests that were previously built but not run.

Change-Id: I8c5de3c954400bf233904282b8b42861a2b7c536
2016-06-17 15:18:57 -05:00
Ben Sander 883d733174 Fix hierchical tests. Set compiler before project to avoid loop
Change-Id: Icede4e76cb47820b39403a7f1ba3f4bd3f47ed03
2016-06-17 15:18:57 -05:00
Aditya Atluri ba262ea855 added tests for host math functions
Change-Id: I66a5c574a27190e32054586f07ecf20e1ff71292
2016-06-17 15:05:33 -05:00
foreman 2a8a6888a9 P4 to Git Change 1281192 by jatang@jatang-opencl-hsa-stg2 on 2016/06/17 15:19:04
SWDEV-1 - Back out changelist 1281189.

	Made a mistake. Was trying to shelve the CL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/computeCmdBuffer.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/computeCmdBuffer.h#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6ComputeCmdBuffer.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6ComputeCmdBuffer.h#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6PerfCounter.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6PerfTrace.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#13 edit
2016-06-17 15:05:12 -05:00
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