This commit is contained in:
Blaise Tine
2019-11-23 00:00:11 -05:00
parent f01936dc92
commit 1a812e4524
9 changed files with 203 additions and 835359 deletions

View File

@@ -82,6 +82,8 @@ void Cleanup(cl_context context, cl_command_queue commandQueue,
}
int main(int argc, char **argv) {
printf("enter demo main\n");
cl_platform_id platform_id;
cl_device_id device_id;
size_t binary_size;
@@ -117,6 +119,7 @@ int main(int argc, char **argv) {
} else {
std::cout << "Read program from binary." << std::endl;
}
// Build program
CL_CHECK(clBuildProgram(program, 1, &device_id, NULL, NULL, NULL));