Remove "C" linkages (#781)

* Remove extern C linkages

* Update crc32 to cpp and remove extern C linkage
This commit is contained in:
Ankit Goyal
2020-05-20 18:46:19 +05:30
committed by GitHub
parent 223c43b7d9
commit 4fbcd96e7f
74 changed files with 140 additions and 440 deletions

View File

@@ -100,7 +100,8 @@ void get_kernel_name (const char *test_name, std::string &kernel_name)
kernel_name.assign(temp_str);
}
extern "C" void CL_CALLBACK notify_callback(const char *errInfo, const void *privateInfo, size_t cb, void *userData);
void CL_CALLBACK notify_callback(const char* errInfo, const void* privateInfo,
size_t cb, void* userData);
void create_context_and_queue(cl_device_id device, cl_context *out_context, cl_command_queue *out_queue)
{