Skip to content
Extraits de code Groupes Projets
Valider baf51661 rédigé par JordanHanotiaux's avatar JordanHanotiaux
Parcourir les fichiers

Update main.cpp

parent 96e41e25
Aucune requête de fusion associée trouvée
...@@ -140,7 +140,7 @@ int main() { ...@@ -140,7 +140,7 @@ int main() {
std::cout << "Using Device: " << device.getInfo<CL_DEVICE_NAME>() << std::endl; std::cout << "Using Device: " << device.getInfo<CL_DEVICE_NAME>() << std::endl;
cl_int err; cl_int err;
cl_command_queue q = clCreateCommandQueue(context(), device(), CL_QUEUE_PROFILING_ENABLE, &err); cl_command_queue q = clCreateCommandQueue(context, device, CL_QUEUE_PROFILING_ENABLE, &err);
if (err != CL_SUCCESS) { if (err != CL_SUCCESS) {
std::cerr << "clCreateCommandQueue failed: " << err << std::endl; std::cerr << "clCreateCommandQueue failed: " << err << std::endl;
exit(1); exit(1);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter