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
이 커밋은 다음에 포함됨:
Laurent Morichetti
2020-02-12 13:16:06 -08:00
부모 da5f4c554e
커밋 d9d9c69399
42개의 변경된 파일419개의 추가작업 그리고 419개의 파일을 삭제
+4 -4
파일 보기
@@ -166,7 +166,7 @@ class Program : public RuntimeObject {
const std::string& programLog() const { return programLog_; }
//! Add a new device program with or without binary image and options.
cl_int addDeviceProgram(Device&, const void* image = NULL, size_t len = 0,
int32_t addDeviceProgram(Device&, const void* image = NULL, size_t len = 0,
amd::option::Options* options = NULL);
//! Find the section for the given device. Return NULL if not found.
@@ -182,20 +182,20 @@ class Program : public RuntimeObject {
const std::string& kernelNames() const { return kernelNames_; }
//! Compile the program for the given devices.
cl_int compile(const std::vector<Device*>& devices, size_t numHeaders,
int32_t compile(const std::vector<Device*>& devices, size_t numHeaders,
const std::vector<const Program*>& headerPrograms, const char** headerIncludeNames,
const char* options = NULL,
void(CL_CALLBACK* notifyFptr)(cl_program, void*) = NULL, void* data = NULL,
bool optionChangable = true);
//! Link the programs for the given devices.
cl_int link(const std::vector<Device*>& devices, size_t numInputs,
int32_t link(const std::vector<Device*>& devices, size_t numInputs,
const std::vector<Program*>& inputPrograms, const char* options = NULL,
void(CL_CALLBACK* notifyFptr)(cl_program, void*) = NULL, void* data = NULL,
bool optionChangable = true);
//! Build the program for the given devices.
cl_int build(const std::vector<Device*>& devices, const char* options = NULL,
int32_t build(const std::vector<Device*>& devices, const char* options = NULL,
void(CL_CALLBACK* notifyFptr)(cl_program, void*) = NULL, void* data = NULL,
bool optionChangable = true);