Commit Graph

13691 Commits

Author SHA1 Message Date
Sun, Peng 3c04722d10 Fix ifndef guard in hip_fp16.h
Change-Id: I0215556e7aa98a74e8a984e4de3fb6e8cafdfb24
2017-04-10 11:17:05 -05:00
Sun, Peng bfa61eac2c add math.h to cover sqrtf function
Change-Id: Ia37752710cea4ca77e0a4e61f8e69a0355d9488d
2017-04-10 08:53:12 -05:00
foreman 9ba3be8764 P4 to Git Change 1396012 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/09 03:00:06
SWDEV-2 - Change OpenCL version number from 2399 to 2400.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2146 edit
2017-04-09 03:05:25 -04:00
foreman e12576cf22 P4 to Git Change 1396011 by todli@todli-win-opencl-kv1 on 2017/04/09 02:28:44
SWDEV-96241 - Unlike in ORCA, in PAL the actual memory allocated for BusAddressable memory is sometimes larger than "Pow2Align(size, pageSize) + pageSize".
	So virtual address of marker should be calculated in another way for WaitMarker command.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#47 edit
2017-04-09 02:37:43 -04:00
foreman 39d80ecd15 P4 to Git Change 1395981 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/08 03:00:05
SWDEV-2 - Change OpenCL version number from 2398 to 2399.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2145 edit
2017-04-08 03:10:32 -04:00
Sun, Peng 9884f2e83f Update the define of __global__ for GGL
Change-Id: I563bb2a132403bcbe9e9f279b55406cf0255af7d
2017-04-07 16:39:33 -05:00
Sun, Peng 19987ede22 Add more operator overloading for float2 type, contributed by Aditya
Change-Id: If1ab7fb24d64bb5304142aed0951c9bd5ad47d20
2017-04-07 14:17:41 -05:00
Sun, Peng f699e02715 update GGL to log launched kernel information
Change-Id: Ied0aa6055673c687071b4a579aecd17f0f3f09ce
2017-04-07 14:06:31 -05:00
foreman 5cf562b34a P4 to Git Change 1395773 by gandryey@gera-w8 on 2017/04/07 14:31:02
SWDEV-118182 - OpenCL runtime picks up wrong DLL if AMD APP SDK is installed
	- Check the path of the base loaded dll before attempting the default location
	http://ocltc.amd.com/reviews/r/12572/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#566 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os.cpp#7 edit
2017-04-07 14:37:44 -04:00
Maneesh Gupta cfdb828e6c Merge branch 'amd-develop' into amd-master
Change-Id: I53d5a8916d769c4f0fe60d2ee3b240551da80b4f
(cherry picked from commit 01c523f6c9)
2017-04-07 11:10:59 -05:00
Maneesh Gupta 0021727cf8 Merge branch 'amd-develop' into amd-master
Change-Id: I53d5a8916d769c4f0fe60d2ee3b240551da80b4f
2017-04-07 15:40:25 +05:30
Maneesh Gupta cfd4620f36 Updated table of contents in markdown documentation
Change-Id: I7347a06f57f9927ca3fcc5590a6c8200bc1bb1f5
2017-04-07 15:38:56 +05:30
Maneesh Gupta cbb7f12b1d Fix build issues with bit_extract sample
Change-Id: I628b3c83a16f7adf0ab8ca60aecde8c073c34fd9
2017-04-07 15:24:10 +05:30
Maneesh Gupta 6877554f5e Fix build issues in hipCommander sample
- Remove -stdlib=libstdc++ from Makefile
- Removed deleted HIP header file fom includes

Change-Id: Ia189396bee19fc52b679259df56c6c6e2bafb6fe
2017-04-07 14:54:03 +05:30
foreman 00473ec7de P4 to Git Change 1395513 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/07 03:00:05
SWDEV-2 - Change OpenCL version number from 2397 to 2398.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2144 edit
2017-04-07 03:12:23 -04:00
Ben Sander e9eaadd135 Finish adding start/stop event support to hipHccModuleLaunchKernel.
Change interface to use hipEvent_t rather than hipEvent_t*

Change-Id: I259062dc087a13d51dc27f84e1e8861f332a104d
2017-04-06 21:02:50 -05:00
sunway513 f442e975c6 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
2017-04-06 21:02:50 -05:00
sunway513 fb4e2307f1 Improve documentation for hipModuleLaunch functions.
Change-Id: I0e22621e499775740c3301347b7416d5f98c2414
2017-04-06 21:02:50 -05:00
foreman 8a7b55e9d2 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
2017-04-06 18:29:35 -04:00
Aditya Atluri 1358bd8f07 fixed header structure for complex data types
Change-Id: I16bf19005d933f42e8c8603c5d0b2df8ea3ad04f
2017-04-06 16:43:26 -05:00
Sun, Peng 49a38da6e3 GGL update, add while 0 guard for hipLaunchKernel API
Change-Id: Ie48ef8ca2ab5e26a51febfcd92417902c33fbf66
2017-04-06 10:48:11 -05:00
Aditya Atluri 42739c37ef added __host__ for complex functions and corrected memset and memcpy test
Change-Id: I9ffefb7a0025aa111a54d20d2766982df15532e7
2017-04-06 09:29:44 -05:00
foreman c7271bc442 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
2017-04-06 03:12:05 -04:00
Sun, Peng 335e107f5f add extra guard to grid_launch_GGL header
Change-Id: I120619c08ea2d084804fcb1639efbe6c4648dde9
2017-04-05 22:25:41 -05:00
Ben Sander e8f4f76649 Update bug workarounds to reflect tool improvements. 2017-04-05 21:59:32 -05:00
Ben Sander 294ffbb51f Doc cleanup & add bug descript for restrict specifier issue 2017-04-05 19:40:00 -05:00
Ben Sander f345cd6f47 Add bug descrip for "no matching constructor" 2017-04-05 17:43:20 -05:00
Sun, Peng bfe499a13b hip_debug.md update from Alex, regarding __device__ function restrictions
Change-Id: I5e54fd97fc632d4283f76282e3935396a1aad235
2017-04-05 16:23:27 -05:00
foreman 5d6747cfd7 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
2017-04-05 03:07:22 -04:00
foreman 738dcbcdd4 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
2017-04-04 11:09:12 -05:00
Rahul Garg 4906cd5f0d mgpu IPC support fix
Change-Id: I12e4b2fd189c3658efd3b07defa18ece3853b0eb
2017-04-04 15:51:10 +05:30
Maneesh Gupta 714dd99e2d Remove unused packaging scripts
Change-Id: I609391b905810eb24f7fd4ea6d7f27166ca001b3
2017-04-04 08:07:56 +05:30
Maneesh Gupta b54954b09f hip_doc packaging script updates
- Gracefully handle missing doxygen and grip tools

Change-Id: I1a4a653d687c136c6d9237062ab4d02bc6cb3db1
2017-04-04 08:06:09 +05:30
Evgeny Mankov 81415a41b8 [HIPIFY] GGL support
+ hipLaunchKernel -> hipLaunchKernelGGL
+ macro HIP_KERNEL_NAME is no longer used
2017-04-03 22:05:01 +03:00
Evgeny Mankov a9268008ac [HIPIFY] Remove hipLaunchParm in HIP kernel declaration. 2017-04-03 20:32:50 +03:00
Maneesh Gupta 83dd6b4bec Merge branch 'amd-develop' into amd-master
Change-Id: Ib81211b5b3dc734ae9051b4aac9dfd7c871d470c
2017-04-03 22:09:29 +05:30
Sun, Peng 2ca9eec9fc Add more include header file for GGL, to make it self-compilable
Change-Id: I833cb194784450fb86e7961a7f9fe196ce3c7da5
2017-04-03 11:16:35 -05:00
Maneesh Gupta 3df134971b Force stdlib=libc++ on UB14.04
Change-Id: I7f24d663e57fbbee56afde12a0e61fc8bfc1e9b6
2017-04-03 15:09:31 +05:30
Maneesh Gupta cea13c34c3 Enable promote free HCC by default
Change-Id: I5f82a8d958dd675a8a46d9d17458c71321daab7c
2017-04-03 11:18:30 +05:30
Sun, Peng f9c8ac5435 Fix hip Module APIs by disabling GGL when hipcc takes -genco option
Change-Id: I0a79e9c8e750f92c3d0be336d6ff709a2d1afd63
2017-04-02 11:56:15 -05:00
foreman f5115dca59 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
2017-04-02 01:07:58 -04:00
Sun, Peng a7d7797781 Fix warpSize, for related issue in hipeigen and torch
Change-Id: Ic66b24923a363304dca189011869ba7a0a6f8895
2017-04-01 15:42:53 -05:00
Sun, Peng 9762667431 Add copy right in grid_launch.cpp
Change-Id: I7de3fc32f13182b5c41a4e44147b642ba15e8636
2017-04-01 15:12:00 -05:00
Sun, Peng b91a37c78a Disable LLVM related config in CMakeLists.txt
Change-Id: I02e52264219d68c1ae8ea37c8df166a0edf9f7cd
2017-04-01 15:01:00 -05:00
Sun, Peng ae8448a9af Add grid_launch.cpp for GGL
Change-Id: I87ff9b3f1203d0909f998c96c839f7b321fc3f09
2017-04-01 14:57:47 -05:00
Sun, Peng df4cee1a57 GGL update, fix for thread-safe access to streams (accelerator_views).
Change-Id: I6dd329a85b3ba7de23d52823febee0c53857a981
2017-04-01 14:50:39 -05:00
Sun, Peng 5826e53644 Move current GGL limitations to hip_bugs.md
Change-Id: I77d0eae0a67eccef7dd2bea0f402736642c96554
2017-04-01 08:21:06 -05:00
foreman 9be20b9fd1 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
2017-03-31 17:32:40 -04:00
foreman 1c46212c4b 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
2017-03-31 15:51:21 -04:00
Aditya Atluri 0fab80e515 added module api sample which uses hipHccModuleLaunchKernel
Change-Id: I7bce60b4480a3b5ff7ed69c3256078ded65a0945
2017-03-31 14:30:40 -05:00