GitXplorerGitXplorer
j

RemoteObjects.jl

public
5 stars
0 forks
6 issues

Commits

List of commits on branch master.
Verified
49da6f475dce6cc5eb490a427cf5b5db2cd838db

Merge pull request #10 from jpsamaroo/jps/remoteserver-fixes

jjpsamaroo committed 5 years ago
Unverified
c229537fc245db027292d1bb0a81f772358da9c8

Some fixes for RemoteServer

jjpsamaroo committed 5 years ago
Verified
a5b525196e3474a68c58a6db5884d2cf4d85b50a

Add RemoteServer functionality (#6)

jjpsamaroo committed 5 years ago
Verified
b8d1cf9aa73f925928097ffb6c7fc6aa9f44d3c2

Merge pull request #4 from jpsamaroo/jps/srht-ci

jjpsamaroo committed 5 years ago
Unverified
3701a439f565ac80d93d6bd3367c9e03bb71f691

Add builds.sr.ht CI

jjpsamaroo committed 5 years ago
Verified
bb3f0a6f5aacc338fc12f73fc364a42948b53c53

Merge pull request #3 from jpsamaroo/jps/show

jjpsamaroo committed 5 years ago

README

The README file for this repository.

RemoteObjects.jl

RemoteObjects provides an easy way to work with objects in remote Julia sessions. Objects can be instantiated in a remote session with @remote, and then the object can be manipulated remotely, without ever needing to instantiate it on the local session.

Additionally, run_server can be used to run a server in the background which listens on a user-specified port for commands from another Julia session. connect_remote can connect to such a session, and its result can then be passed to @remote to instantiate remote objects. This mechanism allows remote control of a Julia session without the local and remote sessions being part of a Distributed cluster.

An example using Distributed workers, using ROCArrays

using RemoteObjects
using ROCArrays

using Distributed
addprocs(["myserver"]) # myserver has an AMD GPU, and RemoteObjects and ROCArrays

# For some reason this is required on my machine...
@everywhere [2] using RemoteObjects
@everywhere [2] using ROCArrays

# Mimic some methods that dispatch on ROCArray
@everywhere mimic(ROCArray; debug=true)

r = @remote ROCArray(rand(Float32, 4, 4))
@show fetch(size(r))