Commit Graph

54851 Commits

Author SHA1 Message Date
Ben Sander d9d9a8620f Update release notes. 2017-07-26 19:03:32 -05:00
foreman 8d6240ee4e P4 to Git Change 1439905 by cpaquot@cpaquot-ocl-lc-lnx on 2017/07/26 15:57:06
SWDEV-121486 - Clean up sampler list if we run out of memory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#42 edit


[ROCm/clr commit: 3a805c96cc]
2017-07-26 16:14:35 -04:00
foreman 3a805c96cc P4 to Git Change 1439905 by cpaquot@cpaquot-ocl-lc-lnx on 2017/07/26 15:57:06
SWDEV-121486 - Clean up sampler list if we run out of memory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#42 edit
2017-07-26 16:14:35 -04:00
Evgeny Mankov 7428857399 [HIPIFY] CUDA Stream Callback support
[ROCm/clr commit: af9dadf20a]
2017-07-26 19:29:50 +03:00
Evgeny Mankov af9dadf20a [HIPIFY] CUDA Stream Callback support 2017-07-26 19:29:50 +03:00
Evgeny Mankov 368aebc4bc [HIPIFY] CUDA Stream Callback support 2017-07-26 19:29:50 +03:00
Harish Kasiviswanathan 186527d0b7 Support IPC sharing of non paged system memory
Non paged system memory is allocated with node id 0. However, since a
gpu node is required for allocating system memory via KFD, the first
dgpu is used. In hsaKmtShareMemory() if system memory use the same
(first) dgpu.

Change-Id: I85789a89a4e4f7888e3826826401ea89ce4d1718
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
2017-07-26 10:17:07 -04:00
Harish Kasiviswanathan faa5102340 Support IPC sharing of non paged system memory
Non paged system memory is allocated with node id 0. However, since a
gpu node is required for allocating system memory via KFD, the first
dgpu is used. In hsaKmtShareMemory() if system memory use the same
(first) dgpu.

Change-Id: I85789a89a4e4f7888e3826826401ea89ce4d1718
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>


[ROCm/ROCR-Runtime commit: 186527d0b7]
2017-07-26 10:17:07 -04:00
Harish Kasiviswanathan 20f0de71df Fix inconsistent calling of validate_nodeid
Change-Id: I3e8e65a5629059abdde89832b619cd8bf1f2b36c
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
2017-07-26 10:17:07 -04:00
Harish Kasiviswanathan 8581bb285d Fix inconsistent calling of validate_nodeid
Change-Id: I3e8e65a5629059abdde89832b619cd8bf1f2b36c
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>


[ROCm/ROCR-Runtime commit: 20f0de71df]
2017-07-26 10:17:07 -04:00
Maneesh Gupta 013f6cd0cc [cmake] No longer rebuild cmake cache on each build
Cmake cache was being rebuilt on each build. This was being done
to update HIP_VERSION, HCC_VERSION, .hipInfo and .hipVersion.
However, rebuilding cache also re-runs HIT parser which is slow.
Removing the cache rebuild should speed up the build. But user
needs to explicitly rebuild the cache in case HIP_VERSION or
HCC_VERSION changes by calling "make rebuild_cache"

Change-Id: Ia5476eb7105aa614239c4dc7968c37f5e6cb0b29


[ROCm/clr commit: 1b5d19ff36]
2017-07-26 13:51:32 +05:30
Maneesh Gupta 1b5d19ff36 [cmake] No longer rebuild cmake cache on each build
Cmake cache was being rebuilt on each build. This was being done
to update HIP_VERSION, HCC_VERSION, .hipInfo and .hipVersion.
However, rebuilding cache also re-runs HIT parser which is slow.
Removing the cache rebuild should speed up the build. But user
needs to explicitly rebuild the cache in case HIP_VERSION or
HCC_VERSION changes by calling "make rebuild_cache"

Change-Id: Ia5476eb7105aa614239c4dc7968c37f5e6cb0b29
2017-07-26 13:51:32 +05:30
Maneesh Gupta e63c8494fd [cmake] No longer rebuild cmake cache on each build
Cmake cache was being rebuilt on each build. This was being done
to update HIP_VERSION, HCC_VERSION, .hipInfo and .hipVersion.
However, rebuilding cache also re-runs HIT parser which is slow.
Removing the cache rebuild should speed up the build. But user
needs to explicitly rebuild the cache in case HIP_VERSION or
HCC_VERSION changes by calling "make rebuild_cache"

Change-Id: Ia5476eb7105aa614239c4dc7968c37f5e6cb0b29
2017-07-26 13:51:32 +05:30
foreman afb1ee54cf P4 to Git Change 1439543 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/26 03:00:03
SWDEV-2 - Change OpenCL version number from 2461 to 2462.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2209 edit


[ROCm/clr commit: 0b5300069f]
2017-07-26 03:22:03 -04:00
foreman 0b5300069f P4 to Git Change 1439543 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/26 03:00:03
SWDEV-2 - Change OpenCL version number from 2461 to 2462.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2209 edit
2017-07-26 03:22:03 -04:00
Evgeny Mankov 7fab0b5ecc [HIPIFY] Finally finished syncing with CUDA 8.0.61 Driver and Runtime… (#105)
[hipify-clang] Finally finished syncing with CUDA 8.0.61 Driver and Runtime API (including missing data types, D3D, OpenGL, VDPAU and EGL interop).

    + All the Modules are supported now:
	1) 4.1 – 4.31 from CUDA 8.0.61 Driver API
	2) CUDA_Driver_API_functions_supported_by_HIP.md updated accordingly
	3) 4.1 – 4.31 from CUDA 8.0.61 Runtime API
	4) CUDA_Runtime_API_functions_supported_by_HIP.md updated accordingly
    + Typos fixing
    + Annotating

[ROCm/clr commit: 9b10efe419]
2017-07-26 09:38:03 +05:30
Evgeny Mankov 9b10efe419 [HIPIFY] Finally finished syncing with CUDA 8.0.61 Driver and Runtime… (#105)
[hipify-clang] Finally finished syncing with CUDA 8.0.61 Driver and Runtime API (including missing data types, D3D, OpenGL, VDPAU and EGL interop).

    + All the Modules are supported now:
	1) 4.1 – 4.31 from CUDA 8.0.61 Driver API
	2) CUDA_Driver_API_functions_supported_by_HIP.md updated accordingly
	3) 4.1 – 4.31 from CUDA 8.0.61 Runtime API
	4) CUDA_Runtime_API_functions_supported_by_HIP.md updated accordingly
    + Typos fixing
    + Annotating
2017-07-26 09:38:03 +05:30
Evgeny Mankov 85e6593a1b [HIPIFY] Finally finished syncing with CUDA 8.0.61 Driver and Runtime… (#105)
[hipify-clang] Finally finished syncing with CUDA 8.0.61 Driver and Runtime API (including missing data types, D3D, OpenGL, VDPAU and EGL interop).

    + All the Modules are supported now:
	1) 4.1 – 4.31 from CUDA 8.0.61 Driver API
	2) CUDA_Driver_API_functions_supported_by_HIP.md updated accordingly
	3) 4.1 – 4.31 from CUDA 8.0.61 Runtime API
	4) CUDA_Runtime_API_functions_supported_by_HIP.md updated accordingly
    + Typos fixing
    + Annotating
2017-07-26 09:38:03 +05:30
foreman 1287a96b3d P4 to Git Change 1439116 by jatang@jatang-opencl-hsa-stg1 on 2017/07/25 11:47:36
SWDEV-95919 - Make sure PerfCounters_Start, Kernel_dispatch, and PerfCounters_End are in the same command buffer.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#85 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#38 edit


[ROCm/clr commit: 18617446da]
2017-07-25 12:01:02 -04:00
foreman 18617446da P4 to Git Change 1439116 by jatang@jatang-opencl-hsa-stg1 on 2017/07/25 11:47:36
SWDEV-95919 - Make sure PerfCounters_Start, Kernel_dispatch, and PerfCounters_End are in the same command buffer.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#85 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#38 edit
2017-07-25 12:01:02 -04:00
foreman fef9954845 P4 to Git Change 1438847 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/25 03:00:06
SWDEV-2 - Change OpenCL version number from 2460 to 2461.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2208 edit


[ROCm/clr commit: 8a40282f4a]
2017-07-25 03:14:06 -04:00
foreman 8a40282f4a P4 to Git Change 1438847 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/25 03:00:06
SWDEV-2 - Change OpenCL version number from 2460 to 2461.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2208 edit
2017-07-25 03:14:06 -04:00
Maneesh Gupta f2ee8ffd69 Merge pull request #111 from bensander/master
Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough)

[ROCm/clr commit: c5790aed94]
2017-07-25 12:02:33 +05:30
Maneesh Gupta c5790aed94 Merge pull request #111 from bensander/master
Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough)
2017-07-25 12:02:33 +05:30
Maneesh Gupta f420af64d0 Merge pull request #111 from bensander/master
Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough)
2017-07-25 12:02:33 +05:30
Chris Freehill 8424fd6f23 Add rocm-smi c++ utility classes
Change-Id: I4362151abf84f89942bf2895b45fca498a28dfc9
2017-07-25 00:42:34 -04:00
Chris Freehill 3e458ed991 Add rocm-smi c++ utility classes
Change-Id: I4362151abf84f89942bf2895b45fca498a28dfc9


[ROCm/ROCR-Runtime commit: 8424fd6f23]
2017-07-25 00:42:34 -04:00
Ben Sander 0e9272cfd7 Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough)
[ROCm/clr commit: cdc4291431]
2017-07-24 18:57:19 -05:00
Ben Sander cdc4291431 Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough) 2017-07-24 18:57:19 -05:00
Ben Sander 67f5d2de3d Enable HCC_OPT_FLUSH=1 (if HCC compiler new enough) 2017-07-24 18:57:19 -05:00
sunway513 3015b8a12d Update Jenkinsfile to run all the built tests
[ROCm/clr commit: af8d028aa4]
2017-07-24 19:02:00 +00:00
sunway513 af8d028aa4 Update Jenkinsfile to run all the built tests 2017-07-24 19:02:00 +00:00
sunway513 6f359dfbe6 Update Jenkinsfile to run all the built tests 2017-07-24 19:02:00 +00:00
sunway513 cf850a4bc7 Re-enable hipEnvVarDriver in Jenkinsfile
[ROCm/clr commit: ebd9708dfe]
2017-07-24 18:53:46 +00:00
sunway513 ebd9708dfe Re-enable hipEnvVarDriver in Jenkinsfile 2017-07-24 18:53:46 +00:00
sunway513 1275ceed67 Re-enable hipEnvVarDriver in Jenkinsfile 2017-07-24 18:53:46 +00:00
sunway513 237d1318b2 Fix indentation, binary path and add wait on popen calls to hipEnvVar test
[ROCm/clr commit: 046e9c570d]
2017-07-24 17:16:13 +00:00
sunway513 046e9c570d Fix indentation, binary path and add wait on popen calls to hipEnvVar test 2017-07-24 17:16:13 +00:00
sunway513 81bc82d166 Fix indentation, binary path and add wait on popen calls to hipEnvVar test 2017-07-24 17:16:13 +00:00
Amber Lin e46743b1dd Workaround cpuid issue under Valgrind
Topology uses cpuid to get CPU cache information. However when running
under Valgrind, data returned from cpuid are not from the processor we set
affinity to. Instead they are all from one specific processor. For a quick
workaround so other teams can continue their work, this patch will report
CPU cache from that specific processor and ignore others.

Change-Id: I5cfac2329dac277f3dbde1be92fa26e085465401
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-07-24 12:04:17 -04:00
Amber Lin 391d9ee403 Workaround cpuid issue under Valgrind
Topology uses cpuid to get CPU cache information. However when running
under Valgrind, data returned from cpuid are not from the processor we set
affinity to. Instead they are all from one specific processor. For a quick
workaround so other teams can continue their work, this patch will report
CPU cache from that specific processor and ignore others.

Change-Id: I5cfac2329dac277f3dbde1be92fa26e085465401
Signed-off-by: Amber Lin <Amber.Lin@amd.com>


[ROCm/ROCR-Runtime commit: e46743b1dd]
2017-07-24 12:04:17 -04:00
Maneesh Gupta 801a927eaf Merge pull request #109 from mangupta/disable_failing_tests
[ci] Exclude sporadically failing test in CI only

[ROCm/clr commit: efdb6608aa]
2017-07-24 20:22:45 +05:30
Maneesh Gupta efdb6608aa Merge pull request #109 from mangupta/disable_failing_tests
[ci] Exclude sporadically failing test in CI only
2017-07-24 20:22:45 +05:30
Maneesh Gupta bb5128a0ab Merge pull request #109 from mangupta/disable_failing_tests
[ci] Exclude sporadically failing test in CI only
2017-07-24 20:22:45 +05:30
Maneesh Gupta 535fe58919 [ci] Exclude sporadically failing test in CI only
Change-Id: If76bc89d39aa35f5c246cbcd41a997b580832450


[ROCm/clr commit: db24ee4cfa]
2017-07-24 15:16:41 +05:30
Maneesh Gupta db24ee4cfa [ci] Exclude sporadically failing test in CI only
Change-Id: If76bc89d39aa35f5c246cbcd41a997b580832450
2017-07-24 15:16:41 +05:30
Maneesh Gupta 4b8931f717 [ci] Exclude sporadically failing test in CI only
Change-Id: If76bc89d39aa35f5c246cbcd41a997b580832450
2017-07-24 15:16:41 +05:30
foreman 11cf3ccd96 P4 to Git Change 1437971 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/22 03:00:04
SWDEV-2 - Change OpenCL version number from 2459 to 2460.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2207 edit


[ROCm/clr commit: 5f2839e8dd]
2017-07-22 03:14:07 -04:00
foreman 5f2839e8dd P4 to Git Change 1437971 by johtaylo@johtaylo-jtincrementor-increment on 2017/07/22 03:00:04
SWDEV-2 - Change OpenCL version number from 2459 to 2460.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2207 edit
2017-07-22 03:14:07 -04:00
Ben Sander 2dbafb89ce Merge pull request #108 from adityaatluri/enum-fix
fixed device selection during compilation to use rocm_agent_enumerator
2017-07-21 16:42:48 -05:00