Commit Graph

12735 Commits

Author SHA1 Message Date
Aditya Atluri 85f961cc6b Revert "Fixed passing unpinned memory to async memcpy"
This reverts commit e98925075b.


[ROCm/clr commit: 1a61733699]
2016-03-08 03:17:27 -06:00
Aditya Atluri 849d5e76a3 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 218cbf1608]
2016-03-08 03:15:33 -06:00
Aditya Atluri e98925075b Fixed passing unpinned memory to async memcpy
[ROCm/clr commit: bf53992605]
2016-03-08 03:14:49 -06:00
foreman 7b25ca9e85 P4 to Git Change 1244798 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/08 03:00:10
SWDEV-2 - Change OpenCL version number from 2056 to 2057.

Affected files ...

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


[ROCm/clr commit: 8a535be3ac]
2016-03-08 03:18:15 -05:00
Ben Sander 98d6ab118f Refactor memccpy tests.
- Add "hipMemcpy_simple" - some simple smoke tests.
- Run memcpy 3 times w/ different switches for kinds, sizes,
  multi-thread.


[ROCm/clr commit: 1d87879008]
2016-03-07 17:15:48 -06:00
dfukalov 12e74c1a3c moved all debug output into DEBUG()
[ROCm/clr commit: c6014ab0a4]
2016-03-08 02:03:25 +03:00
dfukalov 5ac6876f10 added -inplace option
[ROCm/clr commit: e6058442e1]
2016-03-07 21:29:23 +03:00
Aditya Atluri cf92bfb8c7 Added hipHostRegister flags
[ROCm/clr commit: ffeba62a74]
2016-03-07 10:52:40 -06:00
foreman cbcb638e3f P4 to Git Change 1244419 by asalmanp@asalmanp-opencl-stg on 2016/03/07 11:25:05
SWDEV-79278 - [OpenCL][Vega10 Bring up] renaming Greenland device name to Vega10 (this is the official device name)

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#139 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#40 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#31 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#134 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#25 edit


[ROCm/clr commit: 521545cbae]
2016-03-07 11:33:56 -05:00
Aditya Atluri 8a8836088b Added hipHostRegister feature for CUDA backend and its tests
[ROCm/clr commit: 496c549141]
2016-03-07 03:42:50 -06:00
foreman 9708cb1bfa P4 to Git Change 1244340 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/07 03:00:14
SWDEV-2 - Change OpenCL version number from 2055 to 2056.

Affected files ...

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


[ROCm/clr commit: 1efc6c7b3e]
2016-03-07 03:11:37 -05:00
Aditya Atluri cf23f09b7e added copyrights for newly added tests
[ROCm/clr commit: 751f0a2ca7]
2016-03-07 02:01:25 -06:00
Aditya Atluri 99bf0cde7a Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 1c9ed7380c]
2016-03-07 01:41:10 -06:00
Aditya Atluri 9fc6a314ab Increased size of arrays for single stream tests
[ROCm/clr commit: 4856b68ad8]
2016-03-07 01:40:31 -06:00
Ben Sander ad3972fdcd Enhance HIP trace debug functions.
- Control with HIP_DB=mask (env var).  See src/hip_hcc.cpp for mask
  values:
    #define DB_API    0 /* 0x01 - shortcut to enable HIP_TRACE_API on single switch */
    #define DB_SYNC   1 /* 0x02 - trace synchronization pieces */
    #define DB_MEM    2 /* 0x04 - trace memory allocation / deallocation */
    #define DB_COPY1  3 /* 0x08 - trace memory copy commands. . */
    #define DB_SIGNAL 4 /* 0x10 - trace signal pool commands */
- Combine with HIP_TRACE to see debug with API trace.
- Use colors to distinguish different flows of debug.
- Add define COMPILE_DB_TRACE to allow removing all debug at compile-time


[ROCm/clr commit: 9b1b108ea8]
2016-03-06 23:50:52 -06:00
Maneesh Gupta e0e67b0e0c Fix typo in nvcc_detail/hip_runtime_api.h
[ROCm/clr commit: b62040f6fd]
2016-03-07 09:40:15 +05:30
foreman a23c69b7b6 P4 to Git Change 1244249 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/06 03:00:10
SWDEV-2 - Change OpenCL version number from 2054 to 2055.

Affected files ...

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


[ROCm/clr commit: a1ac21209a]
2016-03-06 15:08:49 -05:00
Aditya Atluri d7d689cf32 added feature for hipHostGetFlags for CUDA and HIP
[ROCm/clr commit: 45408db5dc]
2016-03-06 12:17:30 -06:00
Aditya Atluri b07ad6cc93 added flags support to be used later
[ROCm/clr commit: d5499594ce]
2016-03-06 08:40:33 -06:00
Aditya Atluri e5657dec23 corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
[ROCm/clr commit: 8a21b42943]
2016-03-06 08:31:04 -06:00
Aditya Atluri 387bd2e1a7 Added hipHostAlloc with hipHostAllocMapped flag
[ROCm/clr commit: 411154f93f]
2016-03-05 15:57:56 -06:00
Aditya Atluri 375d90a632 Added hipHostAlloc feature for CUDA
[ROCm/clr commit: 2212d35e2d]
2016-03-05 13:58:56 -06:00
Aditya Atluri 28aae1e6c6 v2 Added canHostMapMemory
[ROCm/clr commit: 6085d94f7b]
2016-03-05 13:15:07 -06:00
Aditya Atluri 8254ed4dfa Revert "Added canMapHostMemory feature"
This reverts commit 7eb8b2cc1d.


[ROCm/clr commit: a8d30da648]
2016-03-05 13:08:57 -06:00
Aditya Atluri 7eb8b2cc1d Added canMapHostMemory feature
[ROCm/clr commit: 8c3777d317]
2016-03-05 13:06:37 -06:00
Aditya Atluri 2f61b0c708 Added canMapHostMemory to hipDeviceProp
[ROCm/clr commit: 1e4d1002a0]
2016-03-05 19:30:29 -06:00
dfukalov 862c0c0c6b 1. added double dash option to test to avoid warning message about compilation database
2. fixed cmake resource folder discovery for standalone build case


[ROCm/clr commit: d60aa72f6c]
2016-03-05 13:59:38 +03:00
foreman 342b3a9e82 P4 to Git Change 1244232 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/05 03:00:12
SWDEV-2 - Change OpenCL version number from 2053 to 2054.

Affected files ...

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


[ROCm/clr commit: 2c428a2f76]
2016-03-05 03:10:39 -05:00
atimofee e265ed41ed Template kernels calls and declaration conversion added
[ROCm/clr commit: 236c38719c]
2016-03-04 22:07:41 +03:00
Ben Sander b7b1577a90 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 5a3b3e1be4]
2016-03-04 08:22:56 -06:00
Ben Sander 6957beab37 Add FORCE_SAMEDIR_DEP for copies.
[ROCm/clr commit: 4a1238cf64]
2016-03-04 08:21:15 -06:00
Aditya Atluri 89cfcc40be v2: Fixed implementation of hipMemcpyDefault flag
[ROCm/clr commit: d145e9d83c]
2016-03-04 06:00:04 -06:00
foreman 12f0eb9195 P4 to Git Change 1243815 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/04 03:00:13
SWDEV-2 - Change OpenCL version number from 2052 to 2053.

Affected files ...

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


[ROCm/clr commit: 1c9a499271]
2016-03-04 03:18:45 -05:00
foreman 18c6f68b08 P4 to Git Change 1243406 by gandryey@gera-rcf-lnx on 2016/03/03 13:52:23
SWDEV-79445 - Add cache flush if memdependency disabled.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#397 edit


[ROCm/clr commit: fd2bcde17e]
2016-03-03 14:08:00 -05:00
foreman 8708186e52 P4 to Git Change 1243211 by weizhang@weizhang-lnx-opencl on 2016/03/03 11:46:51
SWDEV-88119 - OGL team recommends to load libGL.so.1 rather than libGL.so for CL-GL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#39 edit


[ROCm/clr commit: fd3857d53a]
2016-03-03 11:58:25 -05:00
Ben Sander 0e147cbcda Add define to disable STREAM thread-safety
[ROCm/clr commit: b529941f70]
2016-03-03 10:49:25 -06:00
atimofee 1b290f9bcb Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify
[ROCm/clr commit: 447fcc4744]
2016-03-03 19:37:16 +03:00
atimofee b92a77610d Assert ("This function is used in places that assume strings use char") in stringLiteral::getString() FIXED
[ROCm/clr commit: 7249e26c70]
2016-03-03 19:36:52 +03:00
Aditya Atluri fa46125c1f Added support for hipMemcpyDefault
[ROCm/clr commit: 696476f3e0]
2016-03-03 10:30:06 -06:00
Aditya Avinash Atluri e200fa6229 Update hip_hcc.cpp
[ROCm/clr commit: 6d9184b7a9]
2016-03-03 13:59:43 -06:00
Aditya Avinash Atluri 33497678f2 Fix output of hipPointerGetAttributes
The output of hipPointerGetAttributes is fixed to match CUDA counterpart.

[ROCm/clr commit: 7b868eb274]
2016-03-03 13:58:18 -06:00
Aditya Avinash Atluri 87c279cf1e Changed test to match CUDA output of errors
We changed the test so that it runs on CUDA. As we are emulating CUDA behavior, this should pass on HIP.

[ROCm/clr commit: c5606c13e7]
2016-03-03 13:48:58 -06:00
dfukalov 66b015e49c 1. fixed file extension search bug
2. added new dependency


[ROCm/clr commit: 5db0984077]
2016-03-03 18:28:24 +03:00
pensun c85ce19fb7 Fix for hipEnvVar test for titan machine
[ROCm/clr commit: 0b048afa79]
2016-03-03 06:23:17 -06:00
foreman 532872bba3 P4 to Git Change 1243084 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/03 03:00:23
SWDEV-2 - Change OpenCL version number from 2051 to 2052.

Affected files ...

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


[ROCm/clr commit: b09d0bf37b]
2016-03-03 03:10:22 -05:00
Maneesh Gupta 357ca59250 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 077b8f51c5]
2016-03-03 09:53:04 +05:30
Maneesh Gupta 069667dfd4 Fix hip_ballot.cpp compilation on hcc
[ROCm/clr commit: eefa31620d]
2016-03-03 09:52:41 +05:30
Maneesh Gupta 811f64af8e Fix hipPointerAttrib.cpp compilation on nvcc
[ROCm/clr commit: fc3fc15aea]
2016-03-03 09:48:47 +05:30
Maneesh Gupta a5d80ddccc Fix hipcc from trying to compile object files
[ROCm/clr commit: dc1e863959]
2016-03-03 09:47:37 +05:30
foreman ed9c54e493 P4 to Git Change 1242741 by jatang@jatang-opencl-hsa-stg1 on 2016/03/02 12:04:38
SWDEV-86378 -  Workaround sDMA L2T page fault issue.

	sDMA L2T has a bug that could have the engine access one page ahead of the starting address of the L2T linear address. Workaround it by using kernel bliting instead for conditions that could run into the bug.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#161 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#59 edit


[ROCm/clr commit: b646548235]
2016-03-02 12:18:01 -05:00