Skip to content

Commit

Permalink
Clean-up application initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
otto-link committed Jan 2, 2025
1 parent 262170f commit dba1e0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Hesiod/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ int main(int argc, char *argv[])
HESIOD_VERSION_MINOR,
HESIOD_VERSION_PATCH);

// start OpenCL
hmap::gpu::init_opencl();
clwrapper::KernelManager::get_instance().set_block_size(32);

// load colormaps
hesiod::CmapManager::get_instance();

QApplication app(argc, argv); // even if headless (for QObject)
Expand Down

0 comments on commit dba1e0c

Please sign in to comment.