Aditya Atluri
2bc7b1f3ba
Update CUDA_Runtime_API_functions_supported_by_HIP.md
...
[ROCm/clr commit: a17e390283 ]
2016-03-18 11:28:06 -05:00
Aditya Atluri
336001aa29
Create CUDA_Runtime_API_functions_supported_by_HIP.md
...
[ROCm/clr commit: 564d13a0b3 ]
2016-03-18 11:23:44 -05:00
Ben Sander
203eeda2f7
Supported --aliged mode. Add results check for H2D and D2H.
...
[ROCm/clr commit: 690486b9eb ]
2016-03-18 03:09:52 -05:00
Ben Sander
b1fe0120ca
Refactor copy code.
...
-Move staging buffer locks inside the staging buffer code.
-Remove dedicated per-device completion_signal + per-device lock -
instead allocated signal from the per-stream pool. This elimintes
the lock and allows more concurrency.
-remove switch HIP_DISABLE_BIDIR_MEMCPY
[ROCm/clr commit: e64174f47a ]
2016-03-18 03:02:00 -05:00
foreman
4365f4231c
P4 to Git Change 1248757 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/18 03:00:16
...
SWDEV-2 - Change OpenCL version number from 2066 to 2067.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1813 edit
[ROCm/clr commit: 35181ad34b ]
2016-03-18 03:06:16 -04:00
Ben Sander
a0d3c018c0
Refactor staging buffer and sync copies.
...
- refactor staging buffer to operate on hsa* data structures not
hc::accelerator.
- use hsa_memory_allocate to allocate staging buffers rather than
am_alloc.
- Refactor device reset with single member function. Don't reallocate
staging buffers on reset.
- Properly track dependencies based on command type. Add new deps for
H2D and D2D rather than overloading H2D.
[ROCm/clr commit: 3b45e064f9 ]
2016-03-17 20:09:10 -05:00
foreman
24b1911f57
P4 to Git Change 1248319 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/17 03:00:18
...
SWDEV-2 - Change OpenCL version number from 2065 to 2066.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1812 edit
[ROCm/clr commit: 5a093ba1e9 ]
2016-03-17 03:10:49 -04:00
Ben Sander
dd90a8ff34
Refactor to isolate staging buffer code.
...
[ROCm/clr commit: 1b7cc7d921 ]
2016-03-17 00:20:56 -05:00
Ben Sander
622902d408
Start separaration of staging_buffer.cpp code.
...
Still #include staging_buffer.cpp into hip_hcc.cpp.
Directed tests compile hip_hcc to static library and use the library.
[ROCm/clr commit: a1879ba59b ]
2016-03-16 22:26:49 -05:00
Ben Sander
c903229e9a
Add aligned alloc
...
[ROCm/clr commit: c9d46bdcde ]
2016-03-16 21:55:57 -05:00
Ben Sander
931b58f438
Checkpoint code cleanup.
...
- Refactor ihipStream in prep for thread-safe implementation.
- Do some work on PinInPlace implementation.
[ROCm/clr commit: 8acb53e160 ]
2016-03-16 21:16:29 -05:00
foreman
0dab729085
P4 to Git Change 1248071 by skeely@HSA_Perforce on 2016/03/16 13:57:32
...
SWDEV-90207 - Initial Mesa implementation. Interop is disabled pending further testing.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadefs.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaglinterop.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaglinterop.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaregisters.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsasettings.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/mesa_glinterop.h#1 add
... //depot/stg/opencl/drivers/opencl/runtime/utils/util.hpp#11 edit
[ROCm/clr commit: b0cc1d1094 ]
2016-03-16 14:07:05 -04:00
Aditya Atluri
b3612a7356
changed flag in hipHostRegister
...
[ROCm/clr commit: 4b96e8c789 ]
2016-03-16 08:01:53 -05:00
Aditya Atluri
420797aed8
src/ fixed hipHostAllocDefault flags
...
[ROCm/clr commit: 6beed19460 ]
2016-03-16 07:32:54 -05:00
Aditya Atluri
488512466a
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
[ROCm/clr commit: 9b78f0a454 ]
2016-03-16 07:17:22 -05:00
Aditya Atluri
d62227266b
Added performance test for memcpy
...
[ROCm/clr commit: 7567a6c0ac ]
2016-03-16 07:16:51 -05:00
Aditya Atluri
63523fbeb7
tests/src [v4] Added feature for partial writes on CPU
...
[ROCm/clr commit: 6baeb08e1c ]
2016-03-16 07:04:40 -05:00
Aditya Atluri
9f9a56597c
test/src [v3] clean up
...
[ROCm/clr commit: 9b772c8553 ]
2016-03-16 05:30:29 -05:00
Aditya Atluri
6253fbbfe5
increased iteration size
...
[ROCm/clr commit: 8f527d2288 ]
2016-03-16 05:24:08 -05:00
Aditya Atluri
2a0d9ffb9c
added cudaHostRegister test
...
[ROCm/clr commit: a60649868d ]
2016-03-16 05:15:03 -05:00
foreman
8e8b778ddd
P4 to Git Change 1247863 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/16 03:00:13
...
SWDEV-2 - Change OpenCL version number from 2064 to 2065.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1811 edit
[ROCm/clr commit: 96be165c4a ]
2016-03-16 03:09:19 -04:00
Aditya Atluri
7493d6074a
corrected first and second kernel dispatch
...
[ROCm/clr commit: 369d01086f ]
2016-03-15 14:22:00 -05:00
Aditya Atluri
343cf7e864
Added single kernel launch to sample
...
[ROCm/clr commit: a6441c3334 ]
2016-03-15 21:05:15 -05:00
foreman
a28efbda7f
P4 to Git Change 1247541 by smekhano@stas-rampitec-hsa on 2016/03/15 13:32:04
...
SWDEV-77584 - fixed work of option -cl-uniform-work-group-size to produce requirenopartialworkgroups in hsail
Testing: smoke, precheckin
Reviewed by Evgeny Mankov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILKernelManager.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_features.tlst#52 edit
[ROCm/clr commit: 0967db2af7 ]
2016-03-15 13:46:39 -04:00
Aditya Atluri
649c943833
added performance metrics for kernel dispatch
...
[ROCm/clr commit: b7bf5830c1 ]
2016-03-15 12:37:24 -05:00
Aditya Atluri
dbc1196236
v2 deprecating hipMallocHost with hipHostAlloc
...
[ROCm/clr commit: 2743a5082f ]
2016-03-15 13:39:15 -05:00
foreman
8bee1611b9
P4 to Git Change 1247486 by weizhang@weizhang-lnx-opencl on 2016/03/15 11:01:21
...
SWDEV-89454 - The memory pointed by m_nativeDisplayHandle should be freed at IOL.
The memory pointed by m_nativeDisplayHandle is allocated in IOL, so it should be freed at IOL as well. Otherwise, the error of "double free or corruption" happens.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#162 edit
[ROCm/clr commit: c33a49c7f6 ]
2016-03-15 11:10:14 -04:00
Aditya Atluri
5327f3cbac
Deprecating hipMallocHost to hipHostAlloc
...
[ROCm/clr commit: 4d4d592e0c ]
2016-03-15 06:30:16 -05:00
foreman
432e0e0f36
P4 to Git Change 1247337 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/15 03:00:12
...
SWDEV-2 - Change OpenCL version number from 2063 to 2064.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1810 edit
[ROCm/clr commit: dfdedf8c1b ]
2016-03-15 03:12:32 -04:00
Ben Sander
0573890c39
print device config info
...
[ROCm/clr commit: bdefb70862 ]
2016-03-14 23:02:49 -05:00
Ben Sander
19a0fb0e0e
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
...
Conflicts:
src/hip_hcc.cpp
tests/src/CMakeLists.txt
[ROCm/clr commit: 15a8e8f8a0 ]
2016-03-14 15:01:26 -05:00
Ben Sander
a24528abcb
enable DB, comments
...
[ROCm/clr commit: 0d05517d0a ]
2016-03-14 14:40:41 -05:00
Ben Sander
649f9834e8
Add Bidir copy test and help.
...
[ROCm/clr commit: 87c15a3629 ]
2016-03-14 14:39:23 -05:00
foreman
e30924c0f3
P4 to Git Change 1246912 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/14 03:00:09
...
SWDEV-2 - Change OpenCL version number from 2062 to 2063.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1809 edit
[ROCm/clr commit: bca662bb54 ]
2016-03-14 03:11:41 -04:00
Ben Sander
0aa6e9df26
refactor, add support for speccing xfers in bytes
...
[ROCm/clr commit: 0aab91123b ]
2016-03-13 09:41:06 -05:00
foreman
0214a6ffde
P4 to Git Change 1246830 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/13 04:00:10
...
SWDEV-2 - Change OpenCL version number from 2061 to 2062.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1808 edit
[ROCm/clr commit: 42fcc19238 ]
2016-03-13 04:10:50 -04:00
Ben Sander
5efb582db5
Remove ROCR_V2, assume=1
...
[ROCm/clr commit: 59f0ef2801 ]
2016-03-12 04:08:13 -06:00
Ben Sander
a236942ca5
Remove USE_AM_TRACKER (assume 1)
...
[ROCm/clr commit: de4bb0ca0e ]
2016-03-12 04:04:57 -06:00
Ben Sander
d6ad50c2e0
Improve error reporting.
...
use throw with error class.
fix bug when memcpyDefault resolved to D2D copy.
[ROCm/clr commit: ac272932f6 ]
2016-03-12 04:02:04 -06:00
foreman
e38f50fee0
P4 to Git Change 1246786 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/12 03:00:10
...
SWDEV-2 - Change OpenCL version number from 2060 to 2061.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1807 edit
[ROCm/clr commit: e3b5848d6d ]
2016-03-12 03:12:07 -05:00
foreman
dc64bc14ee
P4 to Git Change 1246346 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/11 03:00:11
...
SWDEV-2 - Change OpenCL version number from 2059 to 2060.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1806 edit
[ROCm/clr commit: c7d5d06a84 ]
2016-03-11 03:07:50 -05:00
foreman
4c9bdf32a3
P4 to Git Change 1246105 by cpaquot@hog-ocl on 2016/03/10 15:13:37
...
SWDEV-89711 - Adding EGL interop capability:
- Remove Context::Info::type_ and only use flags_, it's more accurate and type_ was just redundant
- Plumbing work for EGL at the top of the API layer.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/9965/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl_amd.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#94 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#269 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#542 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#157 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.hpp#24 edit
[ROCm/clr commit: ca062c81b4 ]
2016-03-10 15:21:20 -05:00
foreman
42c2836e5a
P4 to Git Change 1246105 by cpaquot@hog-ocl on 2016/03/10 15:13:37
...
SWDEV-89711 - Adding EGL interop capability:
- Remove Context::Info::type_ and only use flags_, it's more accurate and type_ was just redundant
- Plumbing work for EGL at the top of the API layer.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/9965/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl_amd.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#94 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#269 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#542 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#157 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.hpp#24 edit
[ROCm/clr commit: 269f599f85 ]
2016-03-10 15:21:20 -05:00
foreman
6d635edb3b
P4 to Git Change 1245787 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/10 03:00:13
...
SWDEV-2 - Change OpenCL version number from 2058 to 2059.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1805 edit
[ROCm/clr commit: 3fe9bcaaff ]
2016-03-10 03:08:48 -05:00
dfukalov
38d5bd4111
fixed bug with -debug switch
...
[ROCm/clr commit: f0c01ebd57 ]
2016-03-09 18:37:20 +03:00
foreman
6175541596
P4 to Git Change 1245390 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/09 03:00:12
...
SWDEV-2 - Change OpenCL version number from 2057 to 2058.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1804 edit
[ROCm/clr commit: 0ed489ca5e ]
2016-03-09 03:09:09 -05:00
foreman
8b95f29714
P4 to Git Change 1245012 by gandryey@gera-w8 on 2016/03/08 14:41:35
...
SWDEV-89511 - Enable F16 KHR extension
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#268 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#343 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#253 edit
[ROCm/clr commit: 08721493fa ]
2016-03-08 14:51:18 -05:00
Aditya Atluri
6162990f44
Added hipHostRegister for hip with tests and added copyright
...
[ROCm/clr commit: 3127969d97 ]
2016-03-08 12:57:22 -06:00
Aditya Atluri
0667928d29
Added a random test for memcpyAsync
...
[ROCm/clr commit: 4503ebcb21 ]
2016-03-08 03:40:56 -06:00
Aditya Atluri
5a501d065f
v2 added support for unpinned async memcpy
...
[ROCm/clr commit: dfa9051574 ]
2016-03-08 03:19:50 -06:00