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

CPP: Started first edits on the cpp part of the project for better readability and effecient proccessing #28

Merged
merged 15 commits into from
Jan 1, 2024

Conversation

mourra950
Copy link
Owner

Related issue: #27 #26 #25 #24

Description of the problem or the missing feauture

Alot of problems in the CPP part of the project from last year to code organization to long code and not organized or properly explained or modularized and

Description of the code submited

so i tackled problem step by step to solve the issues tagged above from using and optmizing Cmake to learning systemc and torch cpp to redo the code as a proof of concept next step will probably will be making loading datasets to be generic for all the datasets that will be used other mnist and to use jinja to create more dynamic code

removed this file as the code was commented from the start
Target header had code so i made Target.cpp
started learning more about systemc and learned how to write function on several files for modularization
update it to build the project and add new added file InitiatorThread.cpp
Succesfully rewritten the payloader of tlm2 in systemc
mnist datasets is essential for testing the torch cpp so i added the folder to be able to reference the dataset easily in all the project folders
added and configured opencv code to observe images in the target phase of the systemc
finally was able to import folders and files relative to the project using cmake file(copy) command making much easier to work with data and folders
added comments and removed commented code for better readability and organized the project more
@mourra950 mourra950 added this to the Milestone 1 milestone Jan 1, 2024
@mourra950 mourra950 self-assigned this Jan 1, 2024
@mourra950 mourra950 merged commit 85d2ab3 into main-dev Jan 1, 2024
@mourra950 mourra950 changed the title Secondary CPP: Started first edits on the cpp part of the project for better readability and effecient proccessing Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant