Replace cl_* integral types with standard types.
cl_bool -> bool cl_int -> int32_t cl_uint -> uint32_t cl_long -> int64_t cl_ulong -> uint64_t cl_float -> float cl_double -> double cl_bitfield -> uint64_t Change-Id: I840c8993b55f98f5b745d21e27f5f28233647a58
This commit is contained in:
@@ -1452,7 +1452,7 @@ bool Program::finiBuild(bool isBuildGood) {
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
cl_int Program::compile(const std::string& sourceCode,
|
||||
int32_t Program::compile(const std::string& sourceCode,
|
||||
const std::vector<const std::string*>& headers,
|
||||
const char** headerIncludeNames, const char* origOptions,
|
||||
amd::option::Options* options) {
|
||||
@@ -1540,7 +1540,7 @@ cl_int Program::compile(const std::string& sourceCode,
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
cl_int Program::link(const std::vector<Program*>& inputPrograms, const char* origLinkOptions,
|
||||
int32_t Program::link(const std::vector<Program*>& inputPrograms, const char* origLinkOptions,
|
||||
amd::option::Options* linkOptions) {
|
||||
lastBuildOptionsArg_ = origLinkOptions ? origLinkOptions : "";
|
||||
if (linkOptions) {
|
||||
@@ -1643,7 +1643,7 @@ cl_int Program::link(const std::vector<Program*>& inputPrograms, const char* ori
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
cl_int Program::build(const std::string& sourceCode, const char* origOptions,
|
||||
int32_t Program::build(const std::string& sourceCode, const char* origOptions,
|
||||
amd::option::Options* options) {
|
||||
uint64_t start_time = 0;
|
||||
if (options->oVariables->EnableBuildTiming) {
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user