Skip to content

Compatibility issues with PIMSimulator #2

@yongwonshin

Description

@yongwonshin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions