Fix oversight in selection mechanism which led to erroneous code to be compiled for the grid_launch_GGL component.

[ROCm/clr commit: 37c1811b2a]
Cette révision appartient à :
Alex Voicu
2017-11-29 01:37:52 +00:00
Parent cdac21c81a
révision 6b21218303
4 fichiers modifiés avec 4 ajouts et 5 suppressions
+1 -1
Voir le fichier
@@ -22,7 +22,7 @@ THE SOFTWARE.
#if GENERIC_GRID_LAUNCH == 1
#if __hcc_workweek__ >= 17481
#define FUNCTIONAL_GRID_LAUNCH
#define FUNCTIONAL_GRID_LAUNCH 1
#include "functional_grid_launch.hpp"
#else
#include "macro_based_grid_launch.hpp"
-1
Voir le fichier
@@ -20,7 +20,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#include "hip/hcc_detail/grid_launch_GGL.hpp"
#include "hip/hcc_detail/program_state.hpp"
#include "hip/hip_runtime_api.h"
+3 -1
Voir le fichier
@@ -20,7 +20,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#if defined(FUNCTIONAL_GRID_LAUNCH)
#include "hip/hcc_detail/grid_launch_GGL.hpp"
#if !defined(FUNCTIONAL_GRID_LAUNCH)
#include "functional_grid_launch.inl"
#else
#include "macro_based_grid_launch.inl"
-2
Voir le fichier
@@ -20,8 +20,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#include "hip/hcc_detail/grid_launch_GGL.hpp"
// Internal header, do not percolate upwards.
#include "hip_hcc_internal.h"
#include "hc.hpp"