-
Notifications
You must be signed in to change notification settings - Fork 125
How To?
Liang Wang edited this page Aug 2, 2017
·
17 revisions
This can be achieved by simply pulling Owl's docker image.
docker pull ryanrhymes/owl
docker run -t -i ryanrhymes/owl
If you want to run Owl on different platforms such as ARM, please refer here for more details.
You can edit the .ocamlinit
file in your home directory by adding the following lines.
#use "topfind"
#require "owl"
open Owl
If you don't want to open Owl module, please remove the open Owl
. If you use utop
rather than OCaml's default toplevel, remove the redundant #use "topfind"
.
Calling the Linalg.Generic.peakflops ()
function will return you the number of float operations per second (flops). This number is derived by calculating the amount of time spent in multiplying two 2000 x 2000
matrices. Julia provides the same function and you can use this to compare two.