Client-side Javascript for Gravity Neutral's Web Server Parallel Integration Platform. Create a Browser Interface for Intel Xeon Phi and NVIDIA CUDA Parallel Compute Systems.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
cuda-piestimator.js
gn-client.js
gn-test.js
nthroot.js
slow-compute.js

README.md

Gravity Neutral Client Scripts

Overview

Client-side browser scripts for Gravity Neutral's Parallel Computing and Web Server Integration Platform

  • Submitting Jobs
  • Displaying Job Progress
  • Displaying Job Results

Getting the Sources

Cloned from github:

git clone https://github.com/dtison/gn-client-scripting.git

Usage

In your page header, include scripts:

Load React (***for development you can use the JSX Transformer - for production you will need to pre-compile using webpack)

    <script src="http://fb.me/react-0.13.2.js"></script>
    <script src="http://fb.me/JSXTransformer-0.13.2.js"></script>

Load Gravity Neutral components

<script type="text/jsx;harmony=true" src="/js/gn-client.js"></script>
<script type="text/jsx;harmony=true" src="/js/cuda-piestimator.js"></script>

and setup React Component:

<script type="text/jsx" >
    (function() {
        'use strict';
        React.render(
            <CUDAPiEstimatorJob />,
            document.getElementById('react-job')
        );
    })();
</script>

(There has to be an HTML element named react-job.)

License

Copyright (c) 2015 Gravityneutral.com David Ison. Licensed under the MIT license.