Граф коммитов

13197 Коммитов

Автор SHA1 Сообщение Дата
Maneesh Gupta 66d05e6fc3 hipMemcpy returns success if sizeBytes is 0.
Fixes SWDEV-153754 & SWDEV-154178.
2018-05-21 15:38:44 +05:30
Jenkins 7e222c6f14 Merge 'master' into 'amd-master'
Change-Id: I44d884a9927410d3fafe0d43becdbd3819b544a2
2018-05-21 04:09:40 -05:00
Maneesh Gupta 212bf6b6b3 Merge pull request #460 from mangupta/fix_nvcc_tests
Disable incomplete unit tests that don't work on nvcc path
2018-05-21 12:05:12 +05:30
Maneesh Gupta 845cfb4fe5 Merge pull request #459 from mangupta/add_malloc3d_nvcc
Add hipMalloc3D to nvcc detail
2018-05-21 12:04:52 +05:30
Maneesh Gupta 92d8e05aa0 Disable incomplete unit tests that don't work on nvcc path
Change-Id: If5823ec96a3b2497a08c46ab802c5a0158271053
2018-05-21 11:35:03 +05:30
Maneesh Gupta 5133299804 Add hipMalloc3D to nvcc detail
Change-Id: I8a5654066ed1504e3b05eddbbdebf05fd52aa149
2018-05-21 11:33:09 +05:30
Maneesh Gupta 817a6857f2 Merge pull request #456 from founta/master
defined hipPitchedPtr when using hipcc with nvcc
2018-05-21 10:53:39 +05:30
Maneesh Gupta cfb7be414b Merge pull request #455 from ROCm-Developer-Tools/magic
Change HIP fat binary magic number
2018-05-21 09:52:03 +05:30
Maneesh Gupta 43ac6a61e7 Merge pull request #454 from ROCm-Developer-Tools/hip-clang-hipcc
Let hipcc suport hip-clang
2018-05-21 09:51:42 +05:30
foreman 11596f5278 P4 to Git Change 1557089 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/19 03:00:08
SWDEV-2 - Change OpenCL version number from 2657 to 2658.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2405 edit
2018-05-19 03:13:56 -04:00
Siu Chi Chan 86b56068b5 Merge pull request #458 from gargrahul/fix_memcpy2dasync_pinned
Fix for memcpy2DAsync for pinned host memory case
2018-05-18 15:58:55 -04:00
foreman adea953c81 P4 to Git Change 1556942 by yaxunl@yaxunl-lc8 on 2018/05/18 14:25:12
SWDEV-145570 - [HIP] Change fat binary magic number and clang-offload-bundler target name to match clang

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#11 edit
2018-05-18 14:34:14 -04:00
Alex Voicu 43fca684c8 Update hip_module.cpp
Typo.
2018-05-18 17:50:45 +01:00
Rahul Garg 4f5bdb071c Fix for memcpy2DAsync for pinned host memory case 2018-05-18 21:09:50 +05:30
founta 5c5d87b0a3 defined hipPitchedPtr
Added a define for hipPitchedPtr to resolve a compiler error
2018-05-18 09:11:50 -04:00
Maneesh Gupta 1c93e11cdf Merge pull request #433 from gargrahul/add_hipmemset3d
Added hipMemset3D
2018-05-18 14:54:15 +05:30
Jenkins 6198452991 Merge 'master' into 'amd-master'
Change-Id: I34bbe8311825d881c414767ca7bbbb7a0aafc2b8
2018-05-18 04:09:38 -05:00
Maneesh Gupta 43f7705278 Merge pull request #440 from yxsamliu/assert2
Add __assert_fail, __device_trap and hipErrorAssert for clang
2018-05-18 14:13:27 +05:30
Maneesh Gupta bb1f53ac44 Merge pull request #448 from 949f45ac/master
Provide correct __mul64hi and __umul64hi builtins, using code from ROCm-Device-Libs
2018-05-18 13:18:16 +05:30
Maneesh Gupta 3638bb5b1c Merge pull request #444 from aaronenyeshi/vg20-initial
initial gfx906 support
2018-05-18 13:18:07 +05:30
Maneesh Gupta 5e0828e045 Merge pull request #437 from scchan/mbcnt_intrinsics
add intrinsics mbcnt_lo, mbcnt_hi, lane_id
2018-05-18 13:17:57 +05:30
foreman 5e4c166d14 P4 to Git Change 1556670 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/18 03:00:12
SWDEV-2 - Change OpenCL version number from 2656 to 2657.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2404 edit
2018-05-18 03:10:23 -04:00
foreman 80fc091f0d P4 to Git Change 1556517 by gandryey@gera-w8 on 2018/05/17 18:37:46
SWDEV-153682 - Report cl_amd_planar_yuv extension in OpenCL
	- Correct bytePitch for P010 format

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#243 edit
2018-05-17 18:42:59 -04:00
Yaxun (Sam) Liu 2f9bce3652 Change HIP fat binary magic number 2018-05-17 17:04:51 -04:00
Yaxun (Sam) Liu 55f01cbf36 Let hipcc suport hip-clang 2018-05-17 14:40:15 -04:00
949f45ac 7bf8402d1d Reinstate accidentally deleted uchar2Holder 2018-05-17 10:55:45 +02:00
foreman 1743890ec2 P4 to Git Change 1556018 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/17 03:00:07
SWDEV-2 - Change OpenCL version number from 2655 to 2656.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2403 edit
2018-05-17 03:09:17 -04:00
Maneesh Gupta 89b79e226b Merge pull request #451 from gargrahul/fix_memcpy2d_for_1d_case
Fixed hipMemcpy2D to handle 1D memcpy case
2018-05-17 07:42:47 +05:30
Maneesh Gupta 1ab38e321b Merge pull request #452 from gargrahul/fix_hipCommander_makefile
Fix hipCommander Makefile
2018-05-17 07:25:27 +05:30
foreman 48a85c01e5 P4 to Git Change 1555866 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/16 16:27:00
SWDEV-145570 - [HIP] Store HIP mem flags inside amd::Buffer's flags
	Use the 16 upper bits of amd::Buffer's flags field instead of adding a new field.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#86 edit
2018-05-16 16:35:53 -04:00
foreman 1b7d26cd88 P4 to Git Change 1555866 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/16 16:27:00
SWDEV-145570 - [HIP] Store HIP mem flags inside amd::Buffer's flags
	Use the 16 upper bits of amd::Buffer's flags field instead of adding a new field.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#86 edit
2018-05-16 16:35:53 -04:00
Rahul Garg 9707e9f563 Fix hipCommander Makefile 2018-05-16 15:01:32 +05:30
foreman 48ef33c9d6 P4 to Git Change 1555494 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/16 03:00:07
SWDEV-2 - Change OpenCL version number from 2654 to 2655.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2402 edit
2018-05-16 03:14:13 -04:00
Rahul Garg 8413fb51e1 Fixed hipMemcpy2D to handle 1D memcpy case 2018-05-16 11:07:10 +05:30
foreman 408acaf35e P4 to Git Change 1555197 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/15 16:26:41
SWDEV-145570 - [HIP] Fixed a typo, hipStreamGetFlags test passes now

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#10 edit
2018-05-15 16:36:25 -04:00
foreman a896cb9af0 P4 to Git Change 1555193 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/15 16:19:50
SWDEV-145570 - [HIP] Implemented events

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#9 edit
2018-05-15 16:26:16 -04:00
foreman 483b07a700 P4 to Git Change 1554712 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/15 03:00:06
SWDEV-2 - Change OpenCL version number from 2653 to 2654.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2401 edit
2018-05-15 03:10:25 -04:00
Alex Voicu 40a22d235e Update hip_module.cpp 2018-05-14 17:15:36 +01:00
Evgeny Mankov 317f67fac2 Merge pull request #449 from emankov/cuDNN
[HIPIFY][DNN] support of cuDNN 7.1.3 - continuation 2
2018-05-14 16:30:34 +03:00
Evgeny Mankov 1108a925ca [HIPIFY][DNN] support of cuDNN 7.1.3 - continuation 2
- not finished yet.
- based on https://github.com/ROCmSoftwarePlatform/hipDNN.
- testing on https://github.com/baidu-research/DeepBench - almost pass, except cusparse (not supported yet).
- started testing of examples from libcudnn7-dev_7.1.3.16-1+cuda8.0_amd64 package.
2018-05-14 16:23:59 +03:00
949f45ac 9210263727 Provide correct __mul64hi and __umul64hi builtins, using code from ROCm-Device-Libs 2018-05-14 08:34:56 +02:00
foreman 5b88e43a07 P4 to Git Change 1553963 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/12 03:00:06
SWDEV-2 - Change OpenCL version number from 2652 to 2653.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2400 edit
2018-05-12 03:11:59 -04:00
Alex Voicu fcce9f5337 Switch over to using native vector types, for better codegen. Remove noise. 2018-05-12 00:14:17 +01:00
foreman c6b9701abb P4 to Git Change 1553709 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/11 11:24:30
SWDEV-145570 - [HIP] Make streamSet global and protect it
	By default from the spec, streamSet should be global and not per thread.
	There is a flag to make it per thread but we don't handle this yet. We
	would just add another variable that will be thread local and use it instead.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#8 edit
2018-05-11 11:34:01 -04:00
Aaron Enye Shi 4488f9f7a7 Fix hipMathFunction for gfx906 2018-05-11 10:53:07 -04:00
Alex Voicu eded014abc Don't use magic constants, they're evil.
Also clarify that the register count cannot be queried at the moment.
2018-05-11 11:31:46 +01:00
foreman 134cf09cd2 P4 to Git Change 1553539 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/11 03:01:50
SWDEV-2 - Change OpenCL version number from 2651 to 2652.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2399 edit
2018-05-11 03:10:53 -04:00
Alex Voicu bf9529aaa8 Add support for the hipFuncGetAttributes interface. 2018-05-11 03:35:10 +01:00
Siu Chi Chan 368affcea4 initial gfx906 support 2018-05-10 19:28:00 +00:00
foreman e56e3ce677 P4 to Git Change 1553193 by gandryey@gera-lnx-rcf-lc on 2018/05/10 13:55:21
SWDEV-79445 - OCL generic changes and code clean-up
	- Following CL#1552596. Add a flag to skip memory allocation. ROCr backend requires access to the parent object in the blit manager, but it's not fully initialized and a view creation is required. However a view creation with not fully initialized object can cause a dead lock if device memory is allocated during the object create.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#132 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#104 edit
2018-05-10 14:03:44 -04:00