Skip to content
This repository has been archived by the owner on Mar 5, 2018. It is now read-only.
/ metacl Public archive

DSL that generates C code for different computation platforms (pure C, OpenCL, Intel Phi)

License

Notifications You must be signed in to change notification settings

ffloyd/metacl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abadoned!

I wrote this code for my diploma project. Code is very draft and i had no time to fix it. Unfortunately, this project dead now - no one was interested in its development after the exams.

Metacl

DSL that generates C code for different computation platforms (pure C, OpenCL, Intel Phi)

Installation

Add this line to your application's Gemfile:

gem 'metacl'

And then execute:

$ bundle

Or install it yourself as:

$ gem install metacl

Usage

$ metacl some.mcl

Translates some.mcl to some.cpp. Example compile command for OS X (also you must have cl.hpp in OpenCL folder):

$ clang++ -framework OpenCL -stdlib=libc++ -std=gnu++11 some.cpp

Contributing

  1. Fork it ( http://github.com//metacl/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

DSL that generates C code for different computation platforms (pure C, OpenCL, Intel Phi)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages