Grafik Komit

13197 Melakukan

Penulis SHA1 Pesan Tanggal
Evgeny Mankov 3cd0e53a22 [HIPIFY] Switch building from gcc to clang 3.8. 2017-03-21 21:01:05 +03:00
Sun, Peng 14f8c7cf74 revert workaround for square sample and update doc on GGL
Change-Id: I731c68ca4111e7dc2e45bef51c4cad2c23fc81f8
2017-03-21 10:26:09 -05:00
foreman 191d117839 P4 to Git Change 1388279 by johtaylo@johtaylo-jtincrementor-increment on 2017/03/21 03:00:05
SWDEV-2 - Change OpenCL version number from 2385 to 2386.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2132 edit
2017-03-21 03:14:44 -04:00
foreman a92d053618 P4 to Git Change 1388100 by smekhano@stas-mwamba-rocm on 2017/03/20 18:15:21
SWDEV-105835 - ROCm OpenCL: add -amdgpu-internalize-symbols to FE
	Reviewed by German Andreev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#29 edit
2017-03-20 18:24:01 -04:00
Sun, Peng e21d4f03f1 merge Alex' GGL fix for non-specialized kernel function launch
Change-Id: Idbf7ca669c38ee5c0f654bcabdd1b498abb29f69
2017-03-20 16:34:24 -05:00
Sun, Peng 1fd2e281d0 Add link to GGL document in hip_faq.md
Change-Id: I9f7f0200a06976d580be334c21640c816f812ebb
2017-03-20 15:50:10 -05:00
Sun, Peng 3bd73d6280 Add document for switching to GGL in hip_faq.md
Change-Id: I83d9fd3e76d21ab572949c3a446ac3898acb3ded
2017-03-20 15:44:28 -05:00
Evgeny Mankov 70ed1014ad [HIP] [FIX] Fix GCC build. 2017-03-20 21:03:18 +03:00
foreman ef0161bbf5 P4 to Git Change 1387451 by johtaylo@johtaylo-jtincrementor-increment on 2017/03/18 03:00:05
SWDEV-2 - Change OpenCL version number from 2384 to 2385.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2131 edit
2017-03-18 03:18:47 -04:00
Aditya Atluri 52859a8a40 added support for lgammaf and lgamma
1. Implementation inside HIP

Change-Id: I657263b7276a57c56081d3336fef816b5f204eff
2017-03-17 18:26:10 -05:00
foreman 0b51901411 P4 to Git Change 1387401 by rili@rili-opencl-pal-stg on 2017/03/17 18:35:37
SWDEV-97489 - Initialize variable and fix incorrect code of checking if D3D function finish.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#31 edit
2017-03-17 18:44:15 -04:00
Sun, Peng 2585812fba Disable additional debug warning message
Change-Id: Ic5c374589bfad387a7c4c5346430a490e2c6e2a7
2017-03-17 15:03:03 -05:00
pensun faf0fbebe9 Change the #define of GENERIC_GRID_LAUNCH to take valueat compilation, disable warning messages
Change-Id: Ic6c011529e26de359bcda1e7083727e7ee52887b
2017-03-17 14:59:34 -05:00
pensun ad882222b0 Initial integration with Alex' Generic Grid Launch
Change-Id: I559afb80e9e39ec0d119bb3bf3b85ef9e448caf6
2017-03-17 14:59:34 -05:00
Aditya Atluri 9645b0e0dc Added default module launch api functionality
1. As in hipModuleLaunchKernel(..., kernelParams, nullptr); works with this commit
    2. Added headers AMDGPUPTNote.h, AMDGPURuntimeMetadata.h to do code object meta data parsing
    3. Changed CMake to look at llvm link libraries
    4. HIP developer should set env variable LLVM_HOME to remove link errors
    5. HIP depends on installed LLVM (not source, not build)
    6. Added sample to test out the feature
    7. Right now HCC does not support embedding metadata in code object. Use clang opencl
    8. Changed HIPCC to read LLVM_HOME env var
    9. New argument to CMake should be given -DLLVM_HOME=<where llvm 5.0 is installed>

Change-Id: Iba38194aa872d97cc2c90a8e5ff746c48055c868
2017-03-17 13:11:34 -05:00
Ben Sander 20ea5e179f Move USE_PROMOTE_FREE_HCC 2017-03-17 12:04:13 -05:00
Ben Sander 92fd4c8f10 Add __device__ to needful functions for promote-free. 2017-03-17 11:19:48 -05:00
Ben Sander f4256cb57c Add USE_PROMOTE_FREE_HCC for smooth transition to new HCC caps.
ADDRESS_SPACE_1 defines
2017-03-17 11:04:39 -05:00
Ben Sander c9f64bbd2d Add simple device-side assert macro
Currently swallows asserts but will compile.
2017-03-17 10:25:56 -05:00
foreman 1e561f40e5 P4 to Git Change 1386940 by johtaylo@johtaylo-jtincrementor-increment on 2017/03/17 03:00:05
SWDEV-2 - Change OpenCL version number from 2383 to 2384.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2130 edit
2017-03-17 03:13:06 -04:00
foreman 3f0f26193f P4 to Git Change 1386753 by gandryey@gera-w8 on 2017/03/16 18:08:37
SWDEV-115529 - Interoperability DX11/OGL/OCL
	- Make sure displayable tiling property is passed to the aliased memory object

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#28 edit
2017-03-16 18:14:01 -04:00
Evgeny Mankov c6de5b92b5 [HIP] [DOC] Update hip_porting_driver_api.md
+ Fix typos, formatting, update CUDA Driver API support.
2017-03-16 14:39:28 +03:00
foreman 3da0a50292 P4 to Git Change 1386335 by johtaylo@johtaylo-jtincrementor-increment on 2017/03/16 03:00:05
SWDEV-2 - Change OpenCL version number from 2382 to 2383.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2129 edit
2017-03-16 03:11:07 -04:00
Siu Chi Chan c6efbc1f25 replace code names with gfx names
Change-Id: I5e0b96a0b474b16cfa92077a30a5b80b7230254b
2017-03-15 12:26:13 -04:00
Maneesh Gupta 516866a410 Merge branch 'amd-develop' into amd-master
Change-Id: Ifc503b382fc93491b7d72ba2f5bb3511ceeb8e3d
2017-03-15 14:10:43 +05:30
foreman 4506b41314 P4 to Git Change 1385795 by johtaylo@johtaylo-jtincrementor-increment on 2017/03/15 03:00:06
SWDEV-2 - Change OpenCL version number from 2381 to 2382.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2128 edit
2017-03-15 03:06:32 -04:00
Maneesh Gupta 8536af7b71 Disable broken tests on hcc path
Change-Id: Id6234da576566faa32d5fdf42dca6d6267596823
2017-03-15 12:03:44 +05:30
Maneesh Gupta 42faa4a4fe hipcc: Fix warning when HCC_AMDGPU_TARGET is not defined
Change-Id: I5cc6b0e9fb23ec78152d8bcfe9e7511e2fe91055
2017-03-15 12:03:05 +05:30
Maneesh Gupta e3aa3d7ba6 Merge branch 'amd-master' into amd-develop
Change-Id: I01a77c34e11b1b02cb20e11b105741f6bd383543
2017-03-15 09:56:45 +05:30
foreman 34fc049ad5 P4 to Git Change 1385583 by gandryey@gera-w8 on 2017/03/14 16:43:09
SWDEV-79445 - OCL generic changes and code clean-up
	- replace NULL with nullptr in the ROCm backend

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocappprofile.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompilerlib.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#9 edit
2017-03-14 16:47:51 -04:00
foreman 598d635fc4 P4 to Git Change 1385569 by wchau@wchau_brahma on 2017/03/14 16:12:25
SWDEV-115692 - Remove Lexa and Polaris 22 support from Linux Pro

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#50 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#146 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#564 edit
2017-03-14 16:20:13 -04:00
Rahul Garg 09d1a46139 hipMemsetD8 support for HIP/NVCC path
Change-Id: I48eee8266afd7b45a12d5ce2c4849b687a006c0f
2017-03-14 23:49:21 +05:30
foreman b33adc24e1 P4 to Git Change 1385483 by smekhano@stas-mwamba-rocm on 2017/03/14 13:44:00
SWDEV-115974 - ROCm OCL RT: pass OpenCL relaxation options to clang
	Testing: smoke, precheckin, MLOpen/LC
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#58 edit
2017-03-14 13:53:50 -04:00
Rahul Garg dccf9e2aa9 Added hipMemsetD8
Change-Id: I6a230a036c9c46c72a77d5f93c16ce8a00c3f837
2017-03-14 22:11:34 +05:30
Wen-Heng (Jack) Chung 17af837120 Revert "Changes to HIP to cope with Promote-free HCC"
This reverts commit 0005dd5f66.

Change-Id: I20a9bab3883ad09913b320210344d37599cb8fcd
2017-03-14 22:59:27 +08:00
Maneesh Gupta 62870fdc39 Merge branch 'amd-develop' into amd-master
Change-Id: I8921e67e352e35e4c496e78a797fb309279ab7d0
2017-03-14 15:57:53 +05:30
Maneesh Gupta f91583b294 4_shfl and 5_2dshfl samples are unsupported on gfx701
Change-Id: I81eb880350f25e89573ba14c62b549c6c43f8c91
2017-03-14 15:56:18 +05:30
Maneesh Gupta f32980847f default to gfx803 instead of fatbin if no arch specified
Change-Id: I83d56c6ede11c356d383b09d7eb3a5f08c8d8c84
2017-03-14 14:34:25 +05:30
Maneesh Gupta d29a097905 hipcc: Support targets specified via HCC_AMDGPU_TARGET
Change-Id: I69fda40d9f666325d377f4b4335e7ee693069214
2017-03-14 14:29:30 +05:30
Maneesh Gupta 1b92ae9917 Add gfx900 support
Change-Id: I3be2fbdcb6d3fa776c4fe668586c67245a1323f2
2017-03-14 13:51:38 +05:30
Maneesh Gupta 0853c8ac2e Merge branch 'amd-master' into amd-develop 2017-03-14 13:44:41 +05:30
Aditya Atluri af56898ea0 make sure the inter-thread intrinsics are working post hawaii
Change-Id: I30ea5284c2160276f5bc0f937dfd386ca8640ce8
2017-03-13 11:16:05 -05:00
Ben Sander 9adbbd2980 Update hiphostregister test.
Move check to correct place.
2017-03-12 09:51:33 -05:00
Ben Sander b7acb85fa8 Refactor registered memory calls. 2017-03-11 09:18:27 -06:00
Ben Sander f23b5a1f90 Add first step to a "registerd" mode in hipBusBandwidth. 2017-03-11 09:18:27 -06:00
Ben Sander e43592721e Update hipHostRegister debug and pointerTracker debug and notes 2017-03-11 09:18:27 -06:00
Ben Sander 23a58775df Fix copying of registered memory.
Set device properly so copying can recover context.
Enhance test to catch this case.
2017-03-11 09:18:27 -06:00
foreman 8eb86b3bda P4 to Git Change 1384488 by johtaylo@johtaylo-jtincrementor-increment on 2017/03/11 03:00:05
SWDEV-2 - Change OpenCL version number from 2380 to 2381.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2127 edit
2017-03-11 03:14:08 -05:00
foreman d08bdc6603 P4 to Git Change 1384479 by kzhuravl@kzhuravl-fiji-cl-on-lc on 2017/03/11 01:30:12
SWDEV-94644 - Fix the build after r297498

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#57 edit
2017-03-11 01:40:12 -05:00
Aditya Atluri a47066153f fixed warning raised by g++ using hip_vector_types.h
Change-Id: I9e7cdfc8b28b03b690eecd068529cf7629296d68
2017-03-10 15:14:26 -06:00