Created
October 18, 2014 07:33
-
-
Save navyxliu/f71b2b4bae90cb025ddb to your computer and use it in GitHub Desktop.
bug010
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <amptest.h> | |
#include <amptest_main.h> | |
using std::vector; | |
using namespace Concurrency; | |
using namespace Concurrency::Test; | |
bool Equal(float in1, float in2) __GPU | |
{ | |
return amptest_math::are_almost_equal(in1, in2); | |
} | |
runall_result test_main() | |
{ | |
return 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/tmp/cco.SFwbKH: In function
Equal(float, float)': bug010/test.cpp:(.text+0x74): undefined reference to
Concurrency::Test::amptest_math::isnan(float)'bug010/test.cpp:(.text+0x80): undefined reference to
Concurrency::Test::amptest_math::isnan(float)' bug010/test.cpp:(.text+0xb4): undefined reference to
Concurrency::Test::amptest_math::isnan(float)'bug010/test.cpp:(.text+0xc2): undefined reference to
Concurrency::Test::amptest_math::isnan(float)' bug010/test.cpp:(.text+0xe3): undefined reference to
Concurrency::Test::amptest_math::fabs(float)'bug010/test.cpp:(.text+0xfc): undefined reference to
Concurrency::Test::amptest_math::fabs(float)' bug010/test.cpp:(.text+0x10b): undefined reference to
Concurrency::Test::amptest_math::fabs(float)'bug010/test.cpp:(.text+0x11f): undefined reference to
Concurrency::Test::amptest_math::fabs(float)' bug010/test.cpp:(.text+0x13a): undefined reference to
Concurrency::Test::amptest_math::fabs(float)'/tmp/cco.SFwbKH:bug010/test.cpp:(.text+0x149): more undefined references to `Concurrency::Test::amptest_math::fabs(float)' follow