Skip to content

Commit cff33b2

Browse files
committed
Fix warning #730
1 parent 251d02b commit cff33b2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

include/boost/compute/algorithm/copy.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ dispatch_copy(InputIterator first,
227227
boost::shared_ptr<parameter_cache> parameters =
228228
detail::parameter_cache::get_global_cache(device);
229229

230-
size_t map_copy_threshold;
231-
size_t direct_copy_threshold;
230+
uint_ map_copy_threshold;
231+
uint_ direct_copy_threshold;
232232

233233
// calculate default values of thresholds
234234
if (device.type() & device::gpu) {
@@ -310,8 +310,8 @@ dispatch_copy(InputIterator first,
310310
boost::shared_ptr<parameter_cache> parameters =
311311
detail::parameter_cache::get_global_cache(device);
312312

313-
size_t map_copy_threshold;
314-
size_t direct_copy_threshold;
313+
uint_ map_copy_threshold;
314+
uint_ direct_copy_threshold;
315315

316316
// calculate default values of thresholds
317317
if (device.type() & device::gpu) {
@@ -505,8 +505,8 @@ dispatch_copy(InputIterator first,
505505
boost::shared_ptr<parameter_cache> parameters =
506506
detail::parameter_cache::get_global_cache(device);
507507

508-
size_t map_copy_threshold;
509-
size_t direct_copy_threshold;
508+
uint_ map_copy_threshold;
509+
uint_ direct_copy_threshold;
510510

511511
// calculate default values of thresholds
512512
if (device.type() & device::gpu) {
@@ -587,8 +587,8 @@ dispatch_copy(InputIterator first,
587587
boost::shared_ptr<parameter_cache> parameters =
588588
detail::parameter_cache::get_global_cache(device);
589589

590-
size_t map_copy_threshold;
591-
size_t direct_copy_threshold;
590+
uint_ map_copy_threshold;
591+
uint_ direct_copy_threshold;
592592

593593
// calculate default values of thresholds
594594
if (device.type() & device::gpu) {

0 commit comments

Comments
 (0)