Commit Graph

64357 Commits

Author SHA1 Message Date
Ben Sander 67d57f8ec8 Add include guards for HIP_PLATFORM_NVCC 2016-06-16 09:37:10 -05:00
Ben Sander a8cba75ce4 Update launch_bounds test
[ROCm/clr commit: 46e27c7568]
2016-06-16 09:29:03 -05:00
Ben Sander 46e27c7568 Update launch_bounds test 2016-06-16 09:29:03 -05:00
Ben Sander b9791aab7c Update launch_bounds test
[ROCm/hip commit: be3b79409a]
2016-06-16 09:29:03 -05:00
Ben Sander be3b79409a Update launch_bounds test 2016-06-16 09:29:03 -05:00
Ben Sander c6ace6f647 Add first steps for CMake test hierarchy + initial launch_bounds.
[ROCm/clr commit: 71b9369256]
2016-06-16 08:41:32 -05:00
Ben Sander 71b9369256 Add first steps for CMake test hierarchy + initial launch_bounds. 2016-06-16 08:41:32 -05:00
Ben Sander 40a8dc009c Add first steps for CMake test hierarchy + initial launch_bounds.
[ROCm/hip commit: 1983af64ec]
2016-06-16 08:41:32 -05:00
Ben Sander 1983af64ec Add first steps for CMake test hierarchy + initial launch_bounds. 2016-06-16 08:41:32 -05:00
Maneesh Gupta 475fd56684 Add compiler annotations to make_ functions
Change-Id: Ic16cfe402dc5cb387b1b63ad311ce8b57ea07361


[ROCm/clr commit: bdfd943b4a]
2016-06-16 16:18:35 +05:30
Maneesh Gupta bdfd943b4a Add compiler annotations to make_ functions
Change-Id: Ic16cfe402dc5cb387b1b63ad311ce8b57ea07361
2016-06-16 16:18:35 +05:30
Maneesh Gupta 28e9ba8da9 Add compiler annotations to make_ functions
Change-Id: Ic16cfe402dc5cb387b1b63ad311ce8b57ea07361


[ROCm/hip commit: d12651521f]
2016-06-16 16:18:35 +05:30
Maneesh Gupta d12651521f Add compiler annotations to make_ functions
Change-Id: Ic16cfe402dc5cb387b1b63ad311ce8b57ea07361
2016-06-16 16:18:35 +05:30
foreman eec25c6145 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


[ROCm/clr commit: 32e6cea52f]
2016-06-16 03:06:48 -04:00
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 c46b2e7450 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


[ROCm/clr commit: 6a2a140f34]
2016-06-16 06:13:51 +05:30
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
Ben Sander 0268c1e4e6 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


[ROCm/hip commit: 2ab19ca505]
2016-06-16 06:13:51 +05:30
Ben Sander 2ab19ca505 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 b5e4d50c08 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


[ROCm/clr commit: 67d9bc5d63]
2016-06-15 13:23:18 -04:00
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 d01b51eab9 added more host functions and tests
Change-Id: I9904e65e14c5479ba33d836c5c0b763cb5af71e3


[ROCm/clr commit: c4e667cf90]
2016-06-15 11:45:19 -05:00
Aditya Atluri c4e667cf90 added more host functions and tests
Change-Id: I9904e65e14c5479ba33d836c5c0b763cb5af71e3
2016-06-15 11:45:19 -05:00
Aditya Atluri 8e5334a376 added more host functions and tests
Change-Id: I9904e65e14c5479ba33d836c5c0b763cb5af71e3


[ROCm/hip commit: 7cb45e2d87]
2016-06-15 11:45:19 -05:00
Aditya Atluri 7cb45e2d87 added more host functions and tests
Change-Id: I9904e65e14c5479ba33d836c5c0b763cb5af71e3
2016-06-15 11:45:19 -05:00
foreman 38b5667a92 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


[ROCm/clr commit: ac02a393c2]
2016-06-15 03:14:39 -04: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 cf468b9a7b Merge "added host device functions" into amd-master
[ROCm/clr commit: 8755f2f1bc]
2016-06-15 02:45:55 -04:00
Maneesh Gupta 8755f2f1bc Merge "added host device functions" into amd-master 2016-06-15 02:45:55 -04:00
Maneesh Gupta 9aabcda5b6 Merge "added host device functions" into amd-master
[ROCm/hip commit: 59e3dabf29]
2016-06-15 02:45:55 -04:00
Maneesh Gupta 59e3dabf29 Merge "added host device functions" into amd-master 2016-06-15 02:45:55 -04:00
Maneesh Gupta 8b9f354f60 Merge "cmake picks HIP version from hipcc" into amd-master
[ROCm/clr commit: 065b2f532f]
2016-06-15 01:47:18 -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 f93794ee45 Merge "cmake picks HIP version from hipcc" into amd-master
[ROCm/hip commit: d2019aef84]
2016-06-15 01:47:18 -04:00
Maneesh Gupta d2019aef84 Merge "cmake picks HIP version from hipcc" into amd-master 2016-06-15 01:47:18 -04:00
Maneesh Gupta e003279b6e Merge "hipcc supports printing HIP version" into amd-master
[ROCm/clr commit: 35624f33f9]
2016-06-15 01:46:11 -04:00
Maneesh Gupta 35624f33f9 Merge "hipcc supports printing HIP version" into amd-master 2016-06-15 01:46:11 -04:00
Maneesh Gupta bbc7e232de Merge "hipcc supports printing HIP version" into amd-master
[ROCm/hip commit: fc63d6670e]
2016-06-15 01:46:11 -04:00
Maneesh Gupta fc63d6670e Merge "hipcc supports printing HIP version" into amd-master 2016-06-15 01:46:11 -04:00
Aditya Atluri f56bda32bf added host device functions
Change-Id: I8f299752fb8dd8e8947da62e4ad88842c1c19f62


[ROCm/clr commit: bb02880a12]
2016-06-14 18:14:44 -05:00
Aditya Atluri bb02880a12 added host device functions
Change-Id: I8f299752fb8dd8e8947da62e4ad88842c1c19f62
2016-06-14 18:14:44 -05:00
Aditya Atluri a663880f73 added host device functions
Change-Id: I8f299752fb8dd8e8947da62e4ad88842c1c19f62


[ROCm/hip commit: e01e5d2fe3]
2016-06-14 18:14:44 -05:00
Aditya Atluri e01e5d2fe3 added host device functions
Change-Id: I8f299752fb8dd8e8947da62e4ad88842c1c19f62
2016-06-14 18:14:44 -05:00
Christophe Paquot c64f646711 Updated blit kernel code to use device accessible memory
for the kernel args.
Most image-related HSA conformance tests pass now
Many more ocltst/oclperf image ones pass too.

Change-Id: I3f28d4ee7369f0ebc7af5128d3ffe1390957db98
2016-06-14 17:03:49 -04:00
Christophe Paquot e0df393c14 Updated blit kernel code to use device accessible memory
for the kernel args.
Most image-related HSA conformance tests pass now
Many more ocltst/oclperf image ones pass too.

Change-Id: I3f28d4ee7369f0ebc7af5128d3ffe1390957db98

[ROCm/ROCR-Runtime commit: c64f646711]
2016-06-14 17:03:49 -04:00
foreman 6a712e8c60 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


[ROCm/clr commit: c7522d11c4]
2016-06-14 16:10:52 -04: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 a0f0cc1977 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


[ROCm/clr commit: 133f24578e]
2016-06-14 15:53:29 -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
Besar Wicaksono aee8ab6ef0 Add interrupt signal support to SDMA
Change-Id: Ie2b192f3351a0c3bf1eb36ba9704825b18e6059b
2016-06-14 14:26:25 -04:00