0005dd5f66631fda1b26bbc392e2115cc7cc262f
Squashed commit of the following: commit c111b5bd10d7c2a5b0b1ad8b07f6e81185b47b39 Author: Wen-Heng (Jack) Chung <whchung@gmail.com> Date: Sat Mar 4 17:06:46 2017 +0800 Use __device__ for all variables and functions to be used in kernel path Abolish __device and adopt [[hc]] in HIP implementation, so __device__ can be used on all HIP applications, no matter they are variables or functions. Change-Id: I20ca25857ce3bc3e42a5ebf65cafea2c8492f4c7 commit 30c0e4e4701bbf6bd9a7182e0320a71ff73d3a83 Author: Wen-Heng (Jack) Chung <whchung@gmail.com> Date: Thu Mar 2 12:14:11 2017 +0800 XXX FIXME get around LDS spills caused in Promote-free HCC hipDynamicShared2 uses all 64KB of LDS for computation. But in Promote-free HCC there are cases where LDS spills would occur, which would make the test case to hang. In this workaround commit we reduce the size of dynamic LDS used to get around this known issue, and will revert this commit when LDS spills are resolved in HCC. Change-Id: If648b36200a4f9143951a8129192bcb7ed0bef5e commit e803173be2d73e2f132a7ff7f61e7a20b4083d34 Author: Wen-Heng (Jack) Chung <whchung@gmail.com> Date: Wed Mar 1 21:41:41 2017 +0800 Fix math functions which take pointer arguments Change-Id: I332c997e640edbc44824691e2a9434c6b3dadefa commit de590c469e213c42090ff83dbd060f25bb1d6047 Author: Wen-Heng (Jack) Chung <whchung@gmail.com> Date: Wed Mar 1 18:38:54 2017 +0800 Changes to cope with Promote-free HCC - abolish usage of address_space GNU attribute - use __device in file-scope global variables which would be accessed by GPU kernels - temporarily disable some math functions which take pointer arguments Change-Id: I730311dee848e20e763e35cd3980317fce0dce0d Change-Id: I1f6b970b53b9401eeaaab08f04a7b9fed0fb8cf0
Descripción
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Otros
1.1%