9c14ecd867
EPR #414133 - HSA HLC: fixed device enqueue code for no-capture case
A dead store to a context structure may be generated by clang, while our code was only
expecting a bitcast.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/llvm36/lib/Transforms/Scalar/AMDLowerEnqueueKernel.cpp#6 edit
[ROCm/clr commit: 51f603a4cc]
35 lines
929 B
C++
35 lines
929 B
C++
//
|
|
// Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved.
|
|
//
|
|
|
|
#ifndef VERSIONS_HPP_
|
|
#define VERSIONS_HPP_
|
|
|
|
#include "utils/macros.hpp"
|
|
|
|
#ifndef AMD_PLATFORM_NAME
|
|
# define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing"
|
|
#endif // AMD_PLATFORM_NAME
|
|
|
|
#ifndef AMD_PLATFORM_BUILD_NUMBER
|
|
# define AMD_PLATFORM_BUILD_NUMBER 1752
|
|
#endif // AMD_PLATFORM_BUILD_NUMBER
|
|
|
|
#ifndef AMD_PLATFORM_REVISION_NUMBER
|
|
# define AMD_PLATFORM_REVISION_NUMBER 0
|
|
#endif // AMD_PLATFORM_REVISION_NUMBER
|
|
|
|
#ifndef AMD_PLATFORM_RELEASE_INFO
|
|
# define AMD_PLATFORM_RELEASE_INFO
|
|
#endif // AMD_PLATFORM_RELEASE_INFO
|
|
|
|
#define AMD_BUILD_STRING XSTR(AMD_PLATFORM_BUILD_NUMBER) \
|
|
"." XSTR(AMD_PLATFORM_REVISION_NUMBER)
|
|
|
|
#ifndef AMD_PLATFORM_INFO
|
|
# define AMD_PLATFORM_INFO "AMD-APP" AMD_PLATFORM_RELEASE_INFO \
|
|
DEBUG_ONLY("." IF(IS_OPTIMIZED,"opt","dbg")) " (" AMD_BUILD_STRING ")"
|
|
#endif // ATI_PLATFORM_INFO
|
|
|
|
#endif // VERSIONS_HPP_
|