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

stateful API #11

Open
wants to merge 26 commits into
base: azarchs/build-improvements
Choose a base branch
from
Open

stateful API #11

wants to merge 26 commits into from

Conversation

nlhepler
Copy link

this is a little gross, but it moves tsne into two stages: initialization and optimization. The reason for this is to support an interruptible server that can at least halt optimization soon-ish when it receives a such a request.

tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.h Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
this stuffs most pointer badness into extern "C" blocks
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Show resolved Hide resolved
tsne/bh_sne_src/tsne.h Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
tsne/bh_sne_src/tsne.cpp Outdated Show resolved Hide resolved
@nlhepler
Copy link
Author

@adam-azarchs thanks! I really appreciate the detailed review.

use reinterpret/static cast and other minor niggles from review
adam-azarchs and others added 5 commits June 16, 2021 20:32
and visibility fixes for visual studio
fixes for compilation under Visual Studio
Also update makefile to use c++17, as that's what we're using on the
rust side.
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