Skip to content

Commit

Permalink
move to github
Browse files Browse the repository at this point in the history
  • Loading branch information
barnex committed Sep 23, 2013
1 parent 79950c1 commit 8bd125f
Show file tree
Hide file tree
Showing 70 changed files with 127 additions and 127 deletions.
2 changes: 1 addition & 1 deletion cuda/alloc.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cuda

import (
"code.google.com/p/mx3/data"
"github.com/barnex/cuda5/cu"
"github.com/mumax/3/data"
"log"
"unsafe"
)
Expand Down
2 changes: 1 addition & 1 deletion cuda/buffer.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cuda

import (
"code.google.com/p/mx3/data"
"github.com/barnex/cuda5/cu"
"github.com/mumax/3/data"
"log"
"sync"
"unsafe"
Expand Down
2 changes: 1 addition & 1 deletion cuda/buffer_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cuda

import (
"code.google.com/p/mx3/data"
"github.com/mumax/3/data"
"testing"
)

Expand Down
4 changes: 2 additions & 2 deletions cuda/bytes.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/barnex/cuda5/cu"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
"unsafe"
)

Expand Down
4 changes: 2 additions & 2 deletions cuda/conv_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cuda
// common code for all convolutions.

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
"log"
)

Expand Down
4 changes: 2 additions & 2 deletions cuda/conv_copypad.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/barnex/cuda5/cu"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
"unsafe"
)

Expand Down
4 changes: 2 additions & 2 deletions cuda/conv_demag.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/mag"
"github.com/barnex/cuda5/cu"
"github.com/mumax/3/data"
"github.com/mumax/3/mag"
)

// Stores the necessary state to perform FFT-accelerated convolution
Expand Down
4 changes: 2 additions & 2 deletions cuda/conv_kernmul.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ package cuda
// Launch configs range over all complex elements of fft input. This could be optimized: range only over kernel.

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/barnex/cuda5/cu"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
)

func kernMulRSymm2Dyz(fftMy, fftMz, K11, K22, K12 *data.Slice, N1, N2 int, str cu.Stream) {
Expand Down
2 changes: 1 addition & 1 deletion cuda/conv_selftest.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cuda

import (
"code.google.com/p/mx3/data"
"github.com/mumax/3/data"
"log"
"math/rand"
)
Expand Down
4 changes: 2 additions & 2 deletions cuda/cubicanisotropy.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
"unsafe"
)

Expand Down
2 changes: 1 addition & 1 deletion cuda/cuda2go.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ package main
import (
"bufio"
"bytes"
"code.google.com/p/mx3/util"
"flag"
"fmt"
"github.com/mumax/3/util"
"io"
"log"
"os"
Expand Down
4 changes: 2 additions & 2 deletions cuda/dmi.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
)

// Add effective field of Dzyaloshinskii-Moriya interaction to Beff (Tesla).
Expand Down
2 changes: 1 addition & 1 deletion cuda/exchange.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cuda

import (
"code.google.com/p/mx3/data"
"github.com/mumax/3/data"
"unsafe"
)

Expand Down
2 changes: 1 addition & 1 deletion cuda/fft3dc2r.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package cuda

import (
"code.google.com/p/mx3/data"
"fmt"
"github.com/barnex/cuda5/cu"
"github.com/barnex/cuda5/cufft"
"github.com/mumax/3/data"
)

// 3D single-precission real-to-complex FFT plan.
Expand Down
4 changes: 2 additions & 2 deletions cuda/fft3dr2c.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/barnex/cuda5/cu"
"github.com/barnex/cuda5/cufft"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
"log"
)

Expand Down
4 changes: 2 additions & 2 deletions cuda/heun.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
"math"
)

Expand Down
2 changes: 1 addition & 1 deletion cuda/init.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cuda

import (
"code.google.com/p/mx3/util"
"github.com/barnex/cuda5/cu"
"github.com/mumax/3/util"
"log"
"runtime"
)
Expand Down
2 changes: 1 addition & 1 deletion cuda/lltorque.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cuda

import (
"code.google.com/p/mx3/data"
"github.com/mumax/3/data"
"unsafe"
)

Expand Down
4 changes: 2 additions & 2 deletions cuda/madd.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
)

// multiply: dst[i] = a[i] * b[i]
Expand Down
4 changes: 2 additions & 2 deletions cuda/normalize.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
)

// Normalize vec to unit length, unless length or vol are zero.
Expand Down
4 changes: 2 additions & 2 deletions cuda/reduce.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/barnex/cuda5/cu"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
"math"
"unsafe"
)
Expand Down
2 changes: 1 addition & 1 deletion cuda/reduce_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cuda

import (
"code.google.com/p/mx3/data"
"github.com/mumax/3/data"
"testing"
)

Expand Down
4 changes: 2 additions & 2 deletions cuda/region.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
"unsafe"
)

Expand Down
4 changes: 2 additions & 2 deletions cuda/shift.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
)

// Copy dst to src, shifting data by given number of cells.
Expand Down
4 changes: 2 additions & 2 deletions cuda/slice.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/barnex/cuda5/cu"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
"math"
"unsafe"
)
Expand Down
2 changes: 1 addition & 1 deletion cuda/slice_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cuda

import (
"code.google.com/p/mx3/data"
"github.com/mumax/3/data"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion cuda/solver.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cuda
// General solver utils.

import (
"code.google.com/p/mx3/util"
"github.com/mumax/3/util"
"log"
)

Expand Down
4 changes: 2 additions & 2 deletions cuda/uniaxialanisotropy.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cuda

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
"unsafe"
)

Expand Down
2 changes: 1 addition & 1 deletion cuda/zhangli.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cuda

import (
"code.google.com/p/mx3/data"
"github.com/mumax/3/data"
"unsafe"
)

Expand Down
2 changes: 1 addition & 1 deletion data/mesh.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package data

import (
"code.google.com/p/mx3/util"
"fmt"
"github.com/mumax/3/util"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion data/read.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package data

import (
"code.google.com/p/mx3/util"
"fmt"
"github.com/mumax/3/util"
"hash"
"hash/crc64"
"io"
Expand Down
2 changes: 1 addition & 1 deletion data/slice.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package data
// Slice stores N-component GPU or host data.

import (
"code.google.com/p/mx3/util"
"github.com/mumax/3/util"
"log"
"reflect"
"unsafe"
Expand Down
2 changes: 1 addition & 1 deletion data/write.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package data

import (
"code.google.com/p/mx3/util"
"github.com/mumax/3/util"
"hash"
"hash/crc64"
"io"
Expand Down
4 changes: 2 additions & 2 deletions draw/image.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package draw

import (
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
"image"
"log"
"strconv"
Expand Down
4 changes: 2 additions & 2 deletions engine/adder.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package engine

import (
"code.google.com/p/mx3/cuda"
"code.google.com/p/mx3/data"
"github.com/mumax/3/cuda"
"github.com/mumax/3/data"
)

// quantity that is not explicitly stored,
Expand Down
6 changes: 3 additions & 3 deletions engine/anisotropy.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package engine

import (
"code.google.com/p/mx3/cuda"
"code.google.com/p/mx3/data"
"code.google.com/p/mx3/util"
"github.com/mumax/3/cuda"
"github.com/mumax/3/data"
"github.com/mumax/3/util"
)

// Anisotropy variables
Expand Down
4 changes: 2 additions & 2 deletions engine/asyncio.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package engine

import (
"code.google.com/p/mx3/cuda"
"code.google.com/p/mx3/data"
"github.com/mumax/3/cuda"
"github.com/mumax/3/data"
"log"
"path"
"strings"
Expand Down
Loading

0 comments on commit 8bd125f

Please sign in to comment.