[PATCH] D49339: [test-suite] Added Image Processing Kernels Using Benchmark Library: utilities functions
Pankaj via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 14 00:04:25 PDT 2018
proton created this revision.
proton added reviewers: Meinersbur, homerdin, hfinkel, dberris, MatzeB, cmatthews, kristof.beyls.
Herald added subscribers: llvm-commits, mgorny.
This patch contains some utility functions that some Image processing kernels will require.
glibc_compat_rand.cpp is same as in "MultiSource/Benchmarks/DOE-ProxyApps-C/miniAMR/glibc_compat_rand.c". Only the file type is changed to .cpp without modifying any content of the file because .c was causing linking problems.
In benchmark's "CMakeLists.txt"
**llvm_test_executable(TARGET !!../utils/glibc_compat_rand.c!! ../utils/ImageHelper.cpp CPP_SOURCE_FILES)** : gives error: undefined reference to **glibc_compat_rand**....
**llvm_test_executable(TARGET !!../utils/glibc_compat_rand.cpp!! ../utils/ImageHelper.cpp CPP_SOURCE_FILES)** : Works fine
Repository:
rT test-suite
https://reviews.llvm.org/D49339
Files:
MicroBenchmarks/CMakeLists.txt
MicroBenchmarks/ImageProcessing/utils/ImageHelper.cpp
MicroBenchmarks/ImageProcessing/utils/ImageHelper.h
MicroBenchmarks/ImageProcessing/utils/glibc_compat_rand.cpp
MicroBenchmarks/ImageProcessing/utils/glibc_compat_rand.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49339.155552.patch
Type: text/x-patch
Size: 6620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180714/e90ad5ef/attachment.bin>
More information about the llvm-commits
mailing list