You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
i try to build tensorflow with sycl
but i get error below:
external/local_config_sycl/crosstool/../sycl/include/SYCL/multi_pointer.h:342:3: error: multiple overloads of 'global_ptr' instantiate to the same signature 'void (pointer_t)' (aka 'void (attribute((address_space(1))) float *)')
global_ptr(pointer_t ptr) : Base(ptr) {}
^
...
^
tensorflow/core/kernels/adjust_contrast_op.cc:427:44: note: in instantiation of member function 'tensorflow::functor::AdjustContrastv2Eigen::SyclDevice::operator()' requested here
functor::AdjustContrastv2()(
^
external/local_config_sycl/crosstool/../sycl/include/SYCL/multi_pointer.h:334:3: note: previous declaration is here
global_ptr(dataType *ptr);
^
It seems re define global_ptr , how can i fix it??
my build command is:
bazel build --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" -c opt --config=sycl //tensorflow/tools/pip_package:build_pip_package
python 2.7/3.6 is the same error
gcc 4.85 / 5.x is the same error
thx a lot!!
The text was updated successfully, but these errors were encountered:
Hi
i try to build tensorflow with sycl
but i get error below:
external/local_config_sycl/crosstool/../sycl/include/SYCL/multi_pointer.h:342:3: error: multiple overloads of 'global_ptr' instantiate to the same signature 'void (pointer_t)' (aka 'void (attribute((address_space(1))) float *)')
global_ptr(pointer_t ptr) : Base(ptr) {}
^
...
^
tensorflow/core/kernels/adjust_contrast_op.cc:427:44: note: in instantiation of member function 'tensorflow::functor::AdjustContrastv2Eigen::SyclDevice::operator()' requested here
functor::AdjustContrastv2()(
^
external/local_config_sycl/crosstool/../sycl/include/SYCL/multi_pointer.h:334:3: note: previous declaration is here
global_ptr(dataType *ptr);
^
It seems re define global_ptr , how can i fix it??
my build command is:
bazel build --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" -c opt --config=sycl //tensorflow/tools/pip_package:build_pip_package
python 2.7/3.6 is the same error
gcc 4.85 / 5.x is the same error
thx a lot!!
The text was updated successfully, but these errors were encountered: