Skip to content

Comments

Restructure#30

Merged
evaleev merged 13 commits intomainfrom
restructure
Jan 15, 2026
Merged

Restructure#30
evaleev merged 13 commits intomainfrom
restructure

Conversation

@SpaceyLake
Copy link
Collaborator

The main purpose of this branch was to separate the interface and reference implementation. Alongside that, creation functions for the handle and executor have been included in the interface, allowing tests and usecases to include tapp.h instead of the implementation-specific .h file. The .h file for the reference implementation has been renamed as well. Lastly, I deleted the Makefile since we decided to only use CMake.

@SpaceyLake SpaceyLake requested a review from evaleev December 18, 2025 12:10

#ifndef TAPP_TAPP_EX_IMP_H_
#define TAPP_TAPP_EX_IMP_H_
#ifndef REF_IMP_H_
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer "namespaced" header guards to avoid accidental matches to other packages ... smth like PROJECT_SUBDIR1_SUBDIR2_FILE_SUFFIX ... perhaps #pragma once now works reliably also

* Umeå University - October 2024
*/
#include "tapp_ex_imp.h"
#include <ref_imp.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#inclusion of this project's headers should always use quotation marks ("), i.e.#include "ref_imp.h" ...

CMakeLists.txt Outdated
src/tapp/status.h
src/tapp/tensor.c
src/tapp/product.c
reference_implementation/include/ref_imp.h
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think impl as shorthand for implementation (rather than imp) is more commonly seen

@SpaceyLake SpaceyLake requested a review from evaleev January 13, 2026 15:12
N.B. API is buildable as standalone project (so can be built in other projects).
Copy link
Contributor

@evaleev evaleev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SpaceyLake I think it's good for now, but more work is needed. @janbrandejs @devinamatthews feel free to poke also. We need to assign a version, BTW.

@evaleev
Copy link
Contributor

evaleev commented Jan 15, 2026

this is G2G, all CI failures are due to #28 #31 and #32 ... Until those are fixed we effectively do not have usable CI ... sigh

@evaleev evaleev merged commit 774419e into main Jan 15, 2026
16 of 24 checks passed
@evaleev evaleev deleted the restructure branch January 15, 2026 15:39
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

Successfully merging this pull request may close these issues.

2 participants