minor stuff
This commit is contained in:
parent
27c4349f53
commit
a0437a7f43
BIN
dist/build/hgraph/hgraph
vendored
BIN
dist/build/hgraph/hgraph
vendored
Binary file not shown.
BIN
dist/build/test-hgraph/test-hgraph
vendored
BIN
dist/build/test-hgraph/test-hgraph
vendored
Binary file not shown.
@ -32,14 +32,14 @@ import Data.Either (lefts, rights)
|
|||||||
import Debug.Trace
|
import Debug.Trace
|
||||||
import qualified Data.Text as T
|
import qualified Data.Text as T
|
||||||
import Data.Text.Encoding
|
import Data.Text.Encoding
|
||||||
|
import Stream hiding (map)
|
||||||
import qualified Data.Array.Accelerate as A
|
import qualified Data.Array.Accelerate as A
|
||||||
-- change to Data.Array.Accelerate.CUDA as I and link accelerate-cuda to use GPU instead of CPU
|
-- change to Data.Array.Accelerate.CUDA as I and link accelerate-cuda to use GPU instead of CPU
|
||||||
import Data.Array.Accelerate.Interpreter as I
|
import Data.Array.Accelerate.Interpreter as I
|
||||||
|
|
||||||
import Stream hiding (map)
|
|
||||||
|
|
||||||
type Matrix e = A.Array A.DIM2 e
|
type Matrix e = A.Array A.DIM2 e
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
createGraph :: T.Text -> Either [Int] T.Text
|
createGraph :: T.Text -> Either [Int] T.Text
|
||||||
createGraph input = createGraph' input (Left [])
|
createGraph input = createGraph' input (Left [])
|
||||||
where
|
where
|
||||||
|
Loading…
Reference in New Issue
Block a user