GithubHelp home page GithubHelp logo

logtric's Introduction

LogTriC

Logical Triangulation in C

For a detailed explanation, see:

https://youtu.be/mbUTe9bJ-CM

You can compile any of these programs on Linux e.g. as follows:

gcc -O3 -o tric tric_whatever.c -lm

You also need to create new atoms with

gcc -o atomgen atomgen.c

and then:

./atomgen

this will generate a 40MB data file.

And then you just do:

./tric

For the OpenMP versions, do not forget the -fopenmp flag. The OpenCL versions are compiled according to your OpenCL implementation, for me it was e.g. (not optimizing):

gcc -I/opt/AMDAPPSDK-2.9-1/include -L/opt/AMDAPPSDK-2.9-1/lib/x86_64 -o tric tric_parser_ocl20170507.c -lm -lOpenCL -g

/usr/local/cuda/bin/nvcc -I/usr/local/cuda/include -L/usr/local/cuda/lib64 -o tric tric_parser_ocl20170507.c -lm -lOpenCL -g

These programs will show you a lot of diagnostic output. Nonetheless, they work simply: you enter text. It should be parsed into numbers, then a reply should be produced. If you are wish to terminate, just press enter without entering further text.

Nino Ivanov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.