From: Jiri Horner Date: Sun, 17 Dec 2017 19:23:15 +0000 (+0100) Subject: fix build with intrinsics enabled X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~277^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3dbf392d480187bbba2762e06544d55d56bdeb1e;p=platform%2Fupstream%2Fopencv.git fix build with intrinsics enabled * since #10231 opencv with instrumentation does not build --- diff --git a/modules/core/src/ocl.cpp b/modules/core/src/ocl.cpp index 15a2180..c6aefde 100644 --- a/modules/core/src/ocl.cpp +++ b/modules/core/src/ocl.cpp @@ -3660,9 +3660,9 @@ struct Program::Impl CV_Assert(src_); CV_Assert(src_->kind_ == ProgramSource::Impl::PROGRAM_SOURCE_CODE); CV_Assert(handle == NULL); - CV_INSTRUMENT_REGION_OPENCL_COMPILE(cv::format("Build OpenCL program: %s/%s %" PRIx64 " options: %s", + CV_INSTRUMENT_REGION_OPENCL_COMPILE(cv::format("Build OpenCL program: %s/%s %s options: %s", sourceModule_.c_str(), sourceName_.c_str(), - src.hash(), buildflags.c_str()).c_str()); + src_->sourceHash_.c_str(), buildflags.c_str()).c_str()); CV_LOG_VERBOSE(NULL, 0, "Compile... " << sourceModule_.c_str() << "/" << sourceName_.c_str());