Code Monkey home page Code Monkey logo

reco's People

Contributors

abiosoft avatar bohde avatar campgareth avatar pwaller avatar robtaylor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

reco's Issues

Reports should be JSON formatted

Currently there is Build Report: at the start of each build report, which I think prevents it from being machine-readable:

Build Report: {
	"partName": "xcvu9p-flgb2104-2-i",
	"lutSummary": {
		"used": 20104,
		"detail": {
			"lutLogic": {
				"used": 16718,
				"available": 1182240,
				"description": "LUT as Logic",
				"utilisation": 1.41
			},
			"lutMemory": {
				"used": 3386,
				"available": 591840,
				"description": "LUT as Memory",
				"utilisation": 0.57
			}
		},
		"available": 1182240,
		"description": "CLB LUTs",
		"utilisation": 1.7
	},
	"moduleName": "reconfigure_io_sdaccel_builder_stub_0_1",
	"regSummary": {
		"used": 54601,
		"detail": {
			"regLatch": {
				"used": 0,
				"available": 2364480,
				"description": "Register as Latch",
				"utilisation": 0
			},
			"regFlipFlop": {
				"used": 54601,
				"available": 2364480,
				"description": "Register as Flip Flop",
				"utilisation": 2.31
			}
		},
		"available": 2364480,
		"description": "CLB Registers",
		"utilisation": 2.31
	},
	"blockRamSummary": {
		"used": 17,
		"detail": {
			"blockRamB18": {
				"used": 32,
				"available": 4320,
				"description": "RAMB18",
				"utilisation": 0.74
			},
			"blockRamB36": {
				"used": 1,
				"available": 2160,
				"description": "RAMB36/FIFO",
				"utilisation": 0.05
			}
		},
		"available": 2160,
		"description": "Block RAM Tile",
		"utilisation": 0.79
	},
	"dspBlockSummary": {
		"used": 0,
		"available": 6840,
		"description": "DSPs",
		"utilisation": 0
	},
	"ultraRamSummary": {
		"used": 0,
		"available": 960,
		"description": "URAM",
		"utilisation": 0
	},
	"weightedAverage": {
		"used": 139369,
		"available": 9067200,
		"description": "Weighted Average",
		"utilisation": 1.54
	}
}

New 'status' command

$ reco build status foobar
status: errored

(the different options need fleshing out here)

Check host cmd name at start of sim

Currently if you run a simulation with an incorrect host-side command name you don't find out there's a problem until the instance is spun up etc.

Users need a way to see what host-side commands are available for a build image.

Currently once a build is run, there's no way to see what host-side commands were included at the time, this means that without the user 'remembering' running the desired command at deployment will be difficult.

Comment from old trello card:

Reco needs to be able to figure out which host commands are available based on state of disk. Needs to report those to platform. User needs to be able to view those for a build as part of reco build show-host-cmds or something. Stop a user running a sim using a host command that isn't on disk.

`make build` produces unrunnable Linux binary on OSX

Comment from Max from trello card: kubectl uses go env GOARCH and GOOS in its makefile so it detects the OS at run time. Unfortunately it doesn't quite spit out our current string, returning amd64-linux instead of x86_64-linux

Unknown error when attempting to stop a deployment

When I start a deployment, then try to stop it using reco deploy stop <ID> I get the error message:

histogram-array $ reco deploy stop fc27a0c5-a106-414f-8cd0-f13038fd3ee0

Error: Unknown error occurred

But if I look at the deploy list I see it's trying to terminate:

histogram-array $ reco deploy list

             DEPLOYMENT ID                                BUILD ID                           COMMAND               STATUS           STARTED         DURATION  
  fc27a0c5-a106-414f-8cd0-f13038fd3ee0      b5e66fb4-4b0e-4f8c-97d6-32248f02f320      test-histogram             terminating      1 minute ago      -         
  7766670e-de85-467e-8469-bf94bd255ebc      b5e66fb4-4b0e-4f8c-97d6-32248f02f320      test-histogran             errored          1 week ago        2m15s     
  448ea0d3-d66f-4d14-940f-14524c8d1464      33a606f2-7f5a-4748-bb5f-221473011e93      bench-histogram-FPGA       completed        2 months ago      3m7s 

New command to initialise project

Can we have two options, reco project init to create empty files in the correct structure, and reco project init template to create a copy of our template at that location?


   ├── cmd
   │   ├── bench-my-program
   │   ├── test-my-program
   │      └── main.go
   ├── glide.yaml
   ├── main.go
   ├── main_test.go
   ├── reco.yml

Maybe with the option to specify a name? reco project init --name "histogram" or whatever:


   ├── cmd
   │   ├── bench-histogram
   │   ├── test-histogram
   │      └── main.go
   ├── glide.yaml
   ├── main.go
   ├── main_test.go
   ├── reco.yml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.