Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility issues with PIMSimulator #2

Open
yongwonshin opened this issue Sep 18, 2023 · 0 comments
Open

Compatibility issues with PIMSimulator #2

yongwonshin opened this issue Sep 18, 2023 · 0 comments

Comments

@yongwonshin
Copy link

yongwonshin commented Sep 18, 2023

Hi, as PIMSimulator in the PIMLibrary does not have getCycle() (as in PIMKernel) interface, I want to extend PIMSimulator to get simulation cycles.

I tested the latest commit and d00c225 of PIMLibarary, but it is not compatible with any commits of PIMSimulator. For compilation steps, I compiled PIMSimulator with specific commits, and copied PimSimualtor.h, libdramsim2.a, libdramsim2.so to the corresponding locations in the external_libs directory in the PIMLibrary.

I get the following message while compilation:

Running main() from /home/hyeonsu.kim/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = *create_ocl_kernel_binary*
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from UnitTest
[ RUN      ] UnitTest.create_ocl_kernel_binary_test
unknown file: Failure
C++ exception with description "Invalid address mapping scheme" thrown in the test body.
[  FAILED  ] UnitTest.create_ocl_kernel_binary_test (594 ms)
[----------] 1 test from UnitTest (594 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (594 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] UnitTest.create_ocl_kernel_binary_test

 1 FAILED TEST

Could you give me a hint on how to integrate the PIMSimulator that is compiled from the source into the PIMLibrary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant