23 Commits

Author SHA1 Message Date
Kent Knox
3a10ee9adb Adding docker-compose functionality (#6)
* Adding docker-compose

Adding docker-compose configuration file to define how containers
should be linked and what data to share.
Adding setenv files to the hcc containers

* New templating engine to generate dockerfiles on disk

Changing roc-setup script to generate dockerfiles, so
images are built with build contexts.  Now, roc-setup only
generates dockerfiles, and leverages the docker-compose utility to
build images and compose the shared volumes

* Adding thunk and runtime to docker compose file

Building the thunk and runtime components with docker
compose.  Refactoring of various template files.

* Further docker-compose development

Added lots of little features and refactorings
1.  Eliminated remove-image and dry-run options from roc-setup as
redundant
2.  Templated the install location of volumes
3.  Rewrote the README file
4.  Fixes to the install procedure for ROCT

* Extracting binary hsa libraries, adding kfd device passthrough

HSAIL generated binaries need libraries available in the ROCR debian
package to properly function.
The docker-compose yaml file now passes /dev/kfd access through to the
container
Various cleanup of docker template files

* docker-compose.yml.template fix

The image names for the example rocm-project services were the
same
2016-04-07 12:33:30 -05:00
Kent Knox
d263b2ebf6 Merge pull request #5 from kknox/develop
Updating hcc-isa & hcc-hsails builds 👍
2016-03-29 14:49:11 -05:00
Kent Knox
9f9ab9c000 Updated hcc dockerfiles
hcc-hsail has a new github address
hcc-isa includes new instructions to compile in amdphdrs
roc-setup updated with new command line options for removing images
  and dry-runs
2016-03-29 14:42:30 -05:00
Kent Knox
29a08000c9 Fixes to the hcc-isa dockerfile
Also renamed the hcc-project dockerfile to make it easier to build when
developers derive their own projects.
2016-03-09 18:12:28 -06:00
Kent Knox
33f10a0c41 Merge pull request #4 from kknox/docker-templating
Docker templating 👍
2016-03-09 10:19:38 -06:00
Kent Knox
fcd5cb7983 Merge pull request #3 from kknox/master
Removing hcblas container and adding generic hcc-project container 👍
2016-03-09 10:15:16 -06:00
Kent Knox
ad74514f86 Updating README documentation
Updated main README file to contain new instruction for the tempating
preprocessor.  Removed stale README files from all sub-projects.

Fixed roc-setup to execute docker build
2016-03-09 10:01:59 -06:00
Kent Knox
e114a18a69 Changing docker build scripts into a templating engine
The ROC infrastructure has a few permutations that are useful
in different circumstances.  Namely, the branch to build source from
and the build configuration.  Instead of creating seperate dockerfiles
for each variant, which could explode, the setup script has been
changed into a templating engine, wherin it transforms a docker template
file into a real dockerfile by substituting keywards.  It is similar
to a pre-processor for the dockerfiles.
2016-03-09 09:13:11 -06:00
Kent Knox
a2211fd8e1 Defaulting to dev branch on components
The /dev branch is receiving updates, and it's not sure when the /master
branch will be pushed into.  Switching the dockerfiles to use the /dev
branch so that we can test out the latest features.
2016-03-08 12:16:38 -06:00
Kent Knox
227e6879f0 Changing dockerfiles to pull from develop branches
Dockerfiles have been changed to pull from the develop
branches by default.  Release dockerfiles will now clean
up the entire build trees to keep the images as small as
possible.
2016-03-07 12:00:53 -06:00
Kent Knox
a683c7c69e Added new template dockerfile for ROC development
The new hcc-project dockerfile is meant to be used as a template
to base new ROC application software development on.  Removing the
older hcblas dockerfiles as they are no longer relevant.
2016-03-04 21:39:08 -06:00
Kent Knox
289b02e6ed Merge pull request #2 from kknox/master
Adding dockerfiles for a hcc compiler with a GPU ISA backend 👍
2016-03-01 14:46:50 -06:00
Kent Knox
7f7104405c Adding debug dockerfile for hcc-isa
Filling out the 'lightning compiler' build context with a debug
dockerfile and a README file
2016-03-01 14:43:02 -06:00
Kent Knox
e58266a50b HCC compiler with isa backend dockerfile added
A dockerfile for the 'lightning compiler' has been added, which emits
ISA code for GPU backends
2016-03-01 14:17:52 -06:00
Kent Knox
0a13ae1b71 Adding hcc-lc (lightning compiler)
Adding a new dockerfile to automate the build of hcc-lc
2016-02-29 14:27:10 -06:00
Gregory Stoner
4917dbb5e5 Update README.md 2016-02-24 22:47:23 -06:00
Kent Knox
dd5bcc3d73 Fix typo in roc-setup.sh 2016-02-15 16:42:42 -06:00
Kent Knox
b0cd54fe7e Merge pull request #1 from kknox/master
dockerfile refactoring and documentation 👍
2016-02-15 16:02:04 -06:00
Kent Knox
69825abcdf Significant refactoring of dockerfiles
-  created separate debug and release builds
-  optimized build steps in several layers
Readme files refreshed and redesigned
2016-02-15 15:58:16 -06:00
Kent Knox
5159f96239 Added readme files for how to build docker containers.
Added different dockerfiles to build the runtime or to install
from prepackaged ubuntu packages.  Refactored a lot of the
dockerfiles, to minimize install size and to install libraries and
configuring their location with ldconfig
2016-02-12 14:46:39 -06:00
Kent Knox
5e18be02e2 Adding docker build contexts for rock and roct 2016-02-10 17:28:43 -06:00
Kent Knox
d5681793b9 Dockerfiles for the rocr, hcc & hcblas components 2016-02-05 18:28:31 -06:00
Kent Knox
90f0648312 Initial commit 2016-02-05 17:30:27 -06:00