Skip to content

unixpickle/anyplugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

anyplugin GoDoc

anyplugin gives a standard set of Go build tags for various anynet plugins. For example, the cuda build tag can be used to enable cudavec.

Usage

To use anyplugin in your package, simply put this line somewhere in your code:

import _ "github.com/unixpickle/anyplugin"

When you want to use a plugin, for example "cuda", you can download the plugin dependencies like so:

go get -u -tags cuda github.com/unixpickle/anyplugin

Now, you can use the plugin in your project using the -tags flag, for example:

go run -tags cuda *.go

The following tags are currently supported:

In the future, tags may be added for cuDNN, OpenCL, and others.

About

Standard build tags for anynet plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages