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

12735 Коммитов

Автор SHA1 Сообщение Дата
Ben Sander dc9e957a36 Finish adding start/stop event support to hipHccModuleLaunchKernel.
Change interface to use hipEvent_t rather than hipEvent_t*

Change-Id: I259062dc087a13d51dc27f84e1e8861f332a104d


[ROCm/clr commit: e9eaadd135]
2017-04-06 21:02:50 -05:00
sunway513 1897ca4a20 Refactor events and add initial event option for hipHccModuleLaunchKernel
- Change hipEvent_t to a class.
- Move event logic inside the class.
- Add _type to support Independent, StartCommand, StopCommand events.
  StartCommand returns start timestamp from events.

Change-Id: I4ddd694f2645a3ff7170c9111dc1d3e39931ca21


[ROCm/clr commit: f442e975c6]
2017-04-06 21:02:50 -05:00
sunway513 c2acfe24cc Improve documentation for hipModuleLaunch functions.
Change-Id: I0e22621e499775740c3301347b7416d5f98c2414


[ROCm/clr commit: fb4e2307f1]
2017-04-06 21:02:50 -05:00
foreman ada1208679 P4 to Git Change 1395358 by gandryey@gera-w8 on 2017/04/06 18:05:03
SWDEV-118182 - OpenCL runtime picks up wrong DLL if AMD APP SDK is installed
	- Add driver store path to the dll name

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#565 edit


[ROCm/clr commit: 8a7b55e9d2]
2017-04-06 18:29:35 -04:00
Aditya Atluri 950dfd28d6 fixed header structure for complex data types
Change-Id: I16bf19005d933f42e8c8603c5d0b2df8ea3ad04f


[ROCm/clr commit: 1358bd8f07]
2017-04-06 16:43:26 -05:00
Sun, Peng 9d6a04d334 GGL update, add while 0 guard for hipLaunchKernel API
Change-Id: Ie48ef8ca2ab5e26a51febfcd92417902c33fbf66


[ROCm/clr commit: 49a38da6e3]
2017-04-06 10:48:11 -05:00
Aditya Atluri d1c334df66 added __host__ for complex functions and corrected memset and memcpy test
Change-Id: I9ffefb7a0025aa111a54d20d2766982df15532e7


[ROCm/clr commit: 42739c37ef]
2017-04-06 09:29:44 -05:00
foreman c6de5a3ff5 P4 to Git Change 1394977 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2396 to 2397.

Affected files ...

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


[ROCm/clr commit: c7271bc442]
2017-04-06 03:12:05 -04:00
Sun, Peng 388f35c67a add extra guard to grid_launch_GGL header
Change-Id: I120619c08ea2d084804fcb1639efbe6c4648dde9


[ROCm/clr commit: 335e107f5f]
2017-04-05 22:25:41 -05:00
Ben Sander 2f050e56f8 Update bug workarounds to reflect tool improvements.
[ROCm/clr commit: e8f4f76649]
2017-04-05 21:59:32 -05:00
Ben Sander 251db89f03 Doc cleanup & add bug descript for restrict specifier issue
[ROCm/clr commit: 294ffbb51f]
2017-04-05 19:40:00 -05:00
Ben Sander 2dbc9b1d08 Add bug descrip for "no matching constructor"
[ROCm/clr commit: f345cd6f47]
2017-04-05 17:43:20 -05:00
Sun, Peng 19c64a41a3 hip_debug.md update from Alex, regarding __device__ function restrictions
Change-Id: I5e54fd97fc632d4283f76282e3935396a1aad235


[ROCm/clr commit: bfe499a13b]
2017-04-05 16:23:27 -05:00
foreman c827d6b5a1 P4 to Git Change 1394518 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/05 03:00:05
SWDEV-2 - Change OpenCL version number from 2395 to 2396.

Affected files ...

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


[ROCm/clr commit: 5d6747cfd7]
2017-04-05 03:07:22 -04:00
foreman 5afe87711c P4 to Git Change 1394146 by gandryey@gera-w8 on 2017/04/04 11:59:55
SWDEV-79445 - OCL generic changes and code clean-up
	- Added a simple hang analysis (PAL path only). GPU_ANALYZE_HANG controls the feature. It will create ocl_hang_dump.txt, which will contain OCL resident resources used in the last submissions on this queue and last kernel name. It’s recommended to use this feature with GPU_FLUSH_ON_EXECUTION or AMD_OCL_WAIT_COMMAND

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#270 edit


[ROCm/clr commit: 738dcbcdd4]
2017-04-04 11:09:12 -05:00
Rahul Garg a14593b331 mgpu IPC support fix
Change-Id: I12e4b2fd189c3658efd3b07defa18ece3853b0eb


[ROCm/clr commit: 4906cd5f0d]
2017-04-04 15:51:10 +05:30
Maneesh Gupta 82965fb2d6 Remove unused packaging scripts
Change-Id: I609391b905810eb24f7fd4ea6d7f27166ca001b3


[ROCm/clr commit: 714dd99e2d]
2017-04-04 08:07:56 +05:30
Maneesh Gupta 14c38df500 hip_doc packaging script updates
- Gracefully handle missing doxygen and grip tools

Change-Id: I1a4a653d687c136c6d9237062ab4d02bc6cb3db1


[ROCm/clr commit: b54954b09f]
2017-04-04 08:06:09 +05:30
Evgeny Mankov 7eb7ef2d8e [HIPIFY] GGL support
+ hipLaunchKernel -> hipLaunchKernelGGL
+ macro HIP_KERNEL_NAME is no longer used


[ROCm/clr commit: 81415a41b8]
2017-04-03 22:05:01 +03:00
Evgeny Mankov c41cf40c42 [HIPIFY] Remove hipLaunchParm in HIP kernel declaration.
[ROCm/clr commit: a9268008ac]
2017-04-03 20:32:50 +03:00
Sun, Peng e342bbc7fb Add more include header file for GGL, to make it self-compilable
Change-Id: I833cb194784450fb86e7961a7f9fe196ce3c7da5


[ROCm/clr commit: 2ca9eec9fc]
2017-04-03 11:16:35 -05:00
Maneesh Gupta aab655ff01 Force stdlib=libc++ on UB14.04
Change-Id: I7f24d663e57fbbee56afde12a0e61fc8bfc1e9b6


[ROCm/clr commit: 3df134971b]
2017-04-03 15:09:31 +05:30
Maneesh Gupta 5f99f3811b Enable promote free HCC by default
Change-Id: I5f82a8d958dd675a8a46d9d17458c71321daab7c


[ROCm/clr commit: cea13c34c3]
2017-04-03 11:18:30 +05:30
Sun, Peng b323510002 Fix hip Module APIs by disabling GGL when hipcc takes -genco option
Change-Id: I0a79e9c8e750f92c3d0be336d6ff709a2d1afd63


[ROCm/clr commit: f9c8ac5435]
2017-04-02 11:56:15 -05:00
foreman c730fb0d1b P4 to Git Change 1393594 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/01 03:00:05
SWDEV-2 - Change OpenCL version number from 2394 to 2395.

Affected files ...

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


[ROCm/clr commit: f5115dca59]
2017-04-02 01:07:58 -04:00
Sun, Peng 0e23f09b47 Fix warpSize, for related issue in hipeigen and torch
Change-Id: Ic66b24923a363304dca189011869ba7a0a6f8895


[ROCm/clr commit: a7d7797781]
2017-04-01 15:42:53 -05:00
Sun, Peng 72d4fe0213 Add copy right in grid_launch.cpp
Change-Id: I7de3fc32f13182b5c41a4e44147b642ba15e8636


[ROCm/clr commit: 9762667431]
2017-04-01 15:12:00 -05:00
Sun, Peng f202567d83 Disable LLVM related config in CMakeLists.txt
Change-Id: I02e52264219d68c1ae8ea37c8df166a0edf9f7cd


[ROCm/clr commit: b91a37c78a]
2017-04-01 15:01:00 -05:00
Sun, Peng a8708e7bdd Add grid_launch.cpp for GGL
Change-Id: I87ff9b3f1203d0909f998c96c839f7b321fc3f09


[ROCm/clr commit: ae8448a9af]
2017-04-01 14:57:47 -05:00
Sun, Peng 5a4ac0929f GGL update, fix for thread-safe access to streams (accelerator_views).
Change-Id: I6dd329a85b3ba7de23d52823febee0c53857a981


[ROCm/clr commit: df4cee1a57]
2017-04-01 14:50:39 -05:00
Sun, Peng a4901cdcd3 Move current GGL limitations to hip_bugs.md
Change-Id: I77d0eae0a67eccef7dd2bea0f402736642c96554


[ROCm/clr commit: 5826e53644]
2017-04-01 08:21:06 -05:00
foreman 8ab4ed06fc P4 to Git Change 1393470 by asalmanp@asalmanp-opencl-stg on 2017/03/31 17:25:32
SWDEV-107075 - removing unused environment variable and code

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#269 edit


[ROCm/clr commit: 9be20b9fd1]
2017-03-31 17:32:40 -04:00
foreman 91ead8b192 P4 to Git Change 1393413 by gandryey@gera-w8 on 2017/03/31 15:38:06
SWDEV-79445 - OCL generic changes and code clean-up
	- Add OCL_STUB_PROGRAMS it allows to dumps the original OCL programs with unique name and reuse possibly modified versions on the second run.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#268 edit


[ROCm/clr commit: 1c46212c4b]
2017-03-31 15:51:21 -04:00
Aditya Atluri 1d20550299 added module api sample which uses hipHccModuleLaunchKernel
Change-Id: I7bce60b4480a3b5ff7ed69c3256078ded65a0945


[ROCm/clr commit: 0fab80e515]
2017-03-31 14:30:40 -05:00
Aditya Atluri 28c8d15412 added debug support for HIP sample
Change-Id: Ia7265234082039b68114f7421f4dbcb7149d4d2b


[ROCm/clr commit: 81d3725a16]
2017-03-31 14:13:46 -05:00
Aditya Atluri 5d097642be Fixed bit_extract
Change-Id: I92d7b7a302e3fa0db84889fb5dc6b612e6a53c73


[ROCm/clr commit: d4f3fb092a]
2017-03-31 13:35:26 -05:00
foreman d3ac3503e1 P4 to Git Change 1393335 by gandryey@gera-w8 on 2017/03/31 13:43:08
SWDEV-79445 - OCL generic changes and code clean-up
	- Implement the right fix for SWDEV-115408 and revert CL#1392885. PAL fence reset should occur after WaitForFences(), since there is a possible delay between TS event and OS event

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#267 edit


[ROCm/clr commit: a708eb45ce]
2017-03-31 13:50:51 -04:00
Aditya Atluri e3d3cacebc Fixed copyright and header names
Change-Id: Id595c65ea3b7289e87be4c42db5d8a31905a4fdd


[ROCm/clr commit: 3859f59189]
2017-03-31 12:40:29 -05:00
Aditya Atluri e54234667c fixed header names
Change-Id: I21650d6398187d3767b28e8ac81b2642d3b89a0e


[ROCm/clr commit: 614e7db513]
2017-03-31 12:18:55 -05:00
Aditya Atluri 3651cb672a added new api hipHccModuleLaunchKernel
1. hipHccModuleLaunchKernel is same as hipModuleLaunchKernel with OpenCL workitem model
2. Added copy right
3. Fixed header naming

Change-Id: I6a7c35a3566e2f8d3f5056613e34193775d4b236


[ROCm/clr commit: 1cead6a4cd]
2017-03-31 12:11:34 -05:00
foreman 02ca073506 P4 to Git Change 1393046 by johtaylo@johtaylo-jtincrementor-increment on 2017/03/31 03:00:04
SWDEV-2 - Change OpenCL version number from 2393 to 2394.

Affected files ...

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


[ROCm/clr commit: 89b8c47c24]
2017-03-31 03:13:34 -04:00
Sun, Peng ace18c6a57 remove extra GGL header info
Change-Id: I09f0d1b64a7a31eb2e926f19b69b7bafbacc7787


[ROCm/clr commit: e3a4547703]
2017-03-30 18:16:56 -05:00
Sun, Peng 56b2c7d82e Rename hipLaunchKernelV3 to hipLaunchKernelGGL
Change-Id: I303daae006db41e9b04eb591e0b09b2717a7cf66


[ROCm/clr commit: 9983fdb9e2]
2017-03-30 18:10:17 -05:00
Sun, Peng 06684daac1 fix hipVectorTypesDevice direct test with GGL enabled
Change-Id: I7a63b87348f08f094cd709e87397d9e0fc24e4c2


[ROCm/clr commit: 38c4331861]
2017-03-30 17:14:55 -05:00
foreman 1a66409908 P4 to Git Change 1392885 by gandryey@gera-w8 on 2017/03/30 17:28:48
SWDEV-115408 - [Vega10] IB size mismatch in OCL submissions
	- Incorrect result for OS event wait was causing this issue, because runtime could overwrite an incomplete IB. A workaround is to check TS value after a wait returned a successful code

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#266 edit


[ROCm/clr commit: 39290bb733]
2017-03-30 17:37:14 -04:00
Sun, Peng b602d68f95 update hip_faq.md on using GGL as default
Change-Id: I6ce1112eedeac3b377fe55ad8445f3c465c2eed4


[ROCm/clr commit: 67e14da511]
2017-03-30 15:03:09 -05:00
foreman 1a19de73d9 P4 to Git Change 1392795 by wchau@wchau_OCL_boltzmann on 2017/03/30 14:32:40
SWDEV-79278 - [OpenCL][GFXIP9 Bring up] Add the Vega10 DeviceInfo entry and the gfx90X control functions.
	- modify getHsaDeviceId() to use HSA_AGENT_INFO_NAME to determine the HSA device ID.
	- add back the codes to get the pci_id in the function

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#46 edit


[ROCm/clr commit: 37f3408aef]
2017-03-30 15:09:52 -04:00
Sun, Peng 8b91454077 Enable GGL as the default kernel launch method
Change-Id: I8022d126ee28ff7e4d9a96209e399d4243d39d8b


[ROCm/clr commit: c081099de1]
2017-03-30 13:36:46 -05:00
foreman a3c3220c75 P4 to Git Change 1392761 by wchau@wchau_OCL_boltzmann on 2017/03/30 13:38:04
SWDEV-79278 - [OpenCL][GFXIP9 Bring up] Add the Vega10 DeviceInfo entry and the gfx90X control functions.
	- modify getHsaDeviceId() to use HSA_AGENT_INFO_NAME to determine the HSA device ID.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#45 edit


[ROCm/clr commit: 168c0a27b7]
2017-03-30 13:57:45 -04:00
foreman 24de83640a P4 to Git Change 1392472 by johtaylo@johtaylo-jtincrementor-increment on 2017/03/30 03:00:05
SWDEV-2 - Change OpenCL version number from 2392 to 2393.

Affected files ...

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


[ROCm/clr commit: c6b63501b4]
2017-03-30 03:17:35 -04:00