Version information:
julia> Pkg.status()
Status `~/Dropbox (Personal)/Research/Code/julia-projects/DiffEvals/ZygoteMaster/Project.toml`
[ec485272] ArnoldiMethod v0.0.4
[14197337] GenericLinearAlgebra v0.1.0
Install OpenMPI, make sure enable CUDA support by adding --with-cuda
flag.
Verify GPU Direct RDMA Information
$ ompi_info --all | grep btl_openib_have_cuda_gdr
MCA btl: informational "btl_openib_have_cuda_gdr" (current value: "true", data source: default, level: 4 tuner/basic, type: bool)
mpirun
global _time_load | |
global _cache_flush | |
global _run_attempt | |
extern _bools | |
extern _values | |
extern _pointers | |
section .text |
template< class T, class M > | |
static inline constexpr ptrdiff_t offset_of( const M T::*member ) { | |
return reinterpret_cast< ptrdiff_t >( &( reinterpret_cast< T* >( 0 )->*member ) ); | |
} | |
template< class T, class M > | |
static inline constexpr T* owner_of( M *ptr, const M T::*member ) { | |
return reinterpret_cast< T* >( reinterpret_cast< intptr_t >( ptr ) - offset_of( member ) ); | |
} |
The following is an internal memo I recently wrote to explain the structure of a project I have been working for the last 2 years. While there are a number of details that can only be understood if you have the mentioned repos in front of you, I figured this might give some interesting ideas to other devs.
about the project scaffolding structure used among other for BADASS and AVALON
Especially starting with Windows 10, it isn't all that bad to work on day to day. It just requires a bit of setup out of the box to make it behave better just like those other platforms, and is sufficiently different so as to be non obvious to experienced Linux or macOS users.
Pick and choose what to do from below that fits your needs.
Note: I use emacs, like emacs keybindings and do a bit of Chef development,
We are going to use buildroot to download, configure and compile the kernel. | |
First, download and uncompress buildroot: https://buildroot.org/download.html | |
Go to the directory and: | |
make qemu_x86_defconfig | |
make menuconfig |
package main | |
import ( | |
"fmt" | |
"net" | |
"os" | |
"syscall" | |
) | |
const ( |
#! /usr/bin/env python | |
import argparse | |
import csv | |
from mpi4py import MPI | |
import logging | |
import time | |
def parseOptions(comm_world): | |
parser = argparse.ArgumentParser( |
#include <vector> | |
#include <algorithm> | |
using std::vector; | |
using std::swap; | |
template <typename T> | |
class heap | |
{ | |
public: |