main: add walltime
add flags for cuda thread config
spin-transfer torque: use flexible j excitation
cuda2go: fatal error on no PTX files
dmi: use more efficient delta macros
cleanup cuda headers, rm mask.h
modifications for gccgo (uintptr)