Skip to content
This repository was archived by the owner on Feb 16, 2019. It is now read-only.

Commit 196b840

Browse files
committed
fixed VS2013 warning
1 parent c73fa10 commit 196b840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openvx/ago/ago_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ int agoExecuteGraph(AgoGraph * graph)
20532053
for (auto node = snode; node != enode; node = node->next) {
20542054
if (node->attr_affinity.device_type == AGO_KERNEL_FLAG_DEVICE_CPU) {
20552055
#if ENABLE_OPENCL
2056-
opencl_buffer_access_enable |= node->akernel->opencl_buffer_access_enable;
2056+
opencl_buffer_access_enable |= (node->akernel->opencl_buffer_access_enable ? true : false);
20572057
if (!node->akernel->opencl_buffer_access_enable) {
20582058
agoPerfProfileEntry(graph, ago_profile_type_wait_begin, &node->ref);
20592059
if (nodeLaunchHierarchicalLevel > 0 && nodeLaunchHierarchicalLevel < node->hierarchical_level) {

0 commit comments

Comments
 (0)