Skip to content

Commit

Permalink
Update default opencl device type.
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-rowe committed Nov 19, 2024
1 parent 8ba593a commit 4f043d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/occa/internal/modes/opencl/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace occa {
info_t();
};

constexpr cl_device_type default_device_type = (CL_DEVICE_TYPE_CPU | CL_DEVICE_TYPE_GPU);
constexpr cl_device_type default_device_type = CL_DEVICE_TYPE_ALL;

bool isEnabled();

Expand Down

0 comments on commit 4f043d5

Please sign in to comment.