X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=flatland.git;a=blobdiff_plain;f=flatland.c;h=d92d2256d519781c84096386fc14c1a923c9c9f9;hp=df5075b733449995bbdf2b4b62f6c2a7d5c7c0c1;hb=HEAD;hpb=4a824920ad843ba0d1bd3d9b10a8eb0188a2bc63 diff --git a/flatland.c b/flatland.c index df5075b..d92d225 100644 --- a/flatland.c +++ b/flatland.c @@ -1,18 +1,26 @@ + /* - Example of FFI extension I started from: + flatland is a simple 2d physical simulator - https://github.com/pytorch/extension-ffi.git + Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/ + Written by Francois Fleuret - There is this tutorial + This file is part of flatland - https://github.com/pytorch/tutorials/blob/master/Creating%20Extensions%20using%20FFI.md + flatland is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License version 3 as + published by the Free Software Foundation. - And TH's Tensor definition are here in my install: + flatland is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. - anaconda3/lib/python3.5/site-packages/torch/lib/include/TH/generic/THTensor.h + You should have received a copy of the GNU General Public License + along with flatland. If not, see . - */ +*/ #include