Code Monkey home page Code Monkey logo

clfortran's Introduction


  1. Introduction

CLFORTRAN is a Fortran interface to OpenCL, written in pure Fortran and compatible with OpenCL 1.2.

The API CLFORTRAN exposes is identical to what developers will find with the C interface (read below for more specific details). For any question about parameters meaning, it is better to consult the official OpenCL documentation available at http://www.khronos.org.


  1. Compiler Support

To use CLFORTRAN compiler should support Fortran 2002-2003 extensions, especially ISO_C_BINDING.

Most current compilers have support for this feature, including GNU, Intel and IBM. CLFORTRAN was compiled and tested with the following compilers: - gfortran (4.8.2) - ifort (13.1.1) But previous versions conforming to Fortran 2003 should work as well.


  1. OpenCL Compatibility

CLFORTRAN was written to provide the full API exposed by C OpenCL.

However, since Fortran is case insensitive compared with C, there is a naming conflict defining constants and structures regarding the image support.

In order to overcome this issue, the CL_IMAGE_* constants were renamed to begin with the following prefix: CL_IMAGE_INFO_*. Otherwise, a conflict would occur between CL_IMAGE_FORMAT and the cl_image_format structure.

This is the only difference from the standard.


  1. Examples & Build

Example files are provided to demonstrate the use of CLFORTRAN and writing Fortran programs that utilize OpenCL.

It is advised to consult the makefile for an example of building applications with CLFORTRAN.


  1. Legal

CLFORTRAN is licensed under LGPL, attached is a matching license.


  1. Contact Information

For any other issue, contact us at: [email protected]

Copyright (C) 2013-2015 Company for Advanced Supercomputing Solutions LTD

Company for Advanced Supercomputing Solutions LTD Bosmat 2a St. Shoham Israel 60850 http://www.cass-hpc.com

Author: Mordechai Butrashvily [email protected]

clfortran's People

Contributors

cass-support avatar moti-bot avatar

Watchers

 avatar  avatar

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.