IRC logs of #shogun for Friday, 2016-06-17

--- Log opened Fri Jun 17 00:00:43 2016
-!- besser82 [~besser82@fedora/besser82] has joined #shogun01:02
-!- mode/#shogun [+o besser82] by ChanServ01:02
shogun-buildbotbuild #21 of memleak - valgrind is complete: Failure [failed memory check]  Build details are at http://buildbot.shogun-toolbox.org/builders/memleak%20-%20valgrind/builds/2101:06
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]01:09
lisitsynwiking: http://buildbot.shogun-toolbox.org/memcheck/20160616-2012.html01:13
lisitsynit seems I've bazdmegged out these leaks01:14
-!- GandalfTheWizard [~Eva@112.10.170.90] has joined #shogun03:02
@wiking\o/03:02
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 264 seconds]03:49
-!- besser82 [~besser82@fedora/besser82] has joined #shogun04:55
-!- mode/#shogun [+o besser82] by ChanServ04:55
shogun-buildbotbuild #22 of memleak - valgrind is complete: Failure [failed memory check]  Build details are at http://buildbot.shogun-toolbox.org/builders/memleak%20-%20valgrind/builds/22  blamelist: Sanuj <sanuj.sharma.in@gmail.com>, Viktor Gal <vigsterkr@gmail.com>, Sergey Lisitsyn <lisitsyn.s.o@gmail.com>, Viktor Gal <viktor.gal@maeth.com>, Heiko Strathmann05:25
shogun-buildbot<heiko.strathmann@gmail.com>, Saurabh7 <saurabh.mahindre@gmail.com>05:25
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 246 seconds]05:25
shogun-buildbotbuild #1023 of nightly_none is complete: Failure [failed test]  Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_none/builds/1023  blamelist: Sanuj <sanuj.sharma.in@gmail.com>, Viktor Gal <vigsterkr@gmail.com>, Sergey Lisitsyn <lisitsyn.s.o@gmail.com>, Viktor Gal <viktor.gal@maeth.com>, Heiko Strathmann <heiko.strathmann@gmail.com>, Saurabh705:29
shogun-buildbot<saurabh.mahindre@gmail.com>05:29
shogun-buildbotbuild #1153 of nightly_default is complete: Failure [failed test notebooks]  Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_default/builds/1153  blamelist: Sanuj <sanuj.sharma.in@gmail.com>, Viktor Gal <vigsterkr@gmail.com>, Sergey Lisitsyn <lisitsyn.s.o@gmail.com>, Viktor Gal <viktor.gal@maeth.com>, Heiko Strathmann06:08
shogun-buildbot<heiko.strathmann@gmail.com>, Saurabh7 <saurabh.mahindre@gmail.com>06:08
-!- sanuj [~sanuj@117.204.247.209] has joined #shogun08:05
@wikingarianepaola: https://sources.debian.net/src/shogun/3.2.0-7.3/08:12
-!- sanuj [~sanuj@117.204.247.209] has quit [Ping timeout: 264 seconds]08:43
-!- GandalfTheWizard [~Eva@112.10.170.90] has quit [Quit: Leaving.]09:06
-!- sanuj [~sanuj@117.204.247.209] has joined #shogun09:10
-!- sanuj [~sanuj@117.204.247.209] has quit [Read error: Connection reset by peer]09:23
-!- sanuj [~sanuj@117.203.17.127] has joined #shogun09:38
sanujlisitsyn, there?09:41
lisitsynsanuj: yes09:43
sanujlisitsyn, i'm leaving those which are causing error right now09:43
sanujmost of the are templates09:43
sanujlisitsyn, like: template <class ST> class CFeatureSelection : public CPreprocessor09:43
lisitsynsanuj: yeah it is a bit difficult09:44
lisitsynsanuj: we'd need to discuss with HeikoS and wiking09:44
sanujlisitsyn, did you see how to do GaussianKernel from Kernel in swig?09:44
sanujand shall i start looking at plugins?09:45
lisitsynsanuj: not yet, we need a patch for class_list09:45
sanujokay09:46
-!- [Chris] [~Chris]@deadtime.informatik.uni-tuebingen.de] has joined #shogun09:46
@wikinglisitsyn: what?09:46
lisitsynwiking: what09:47
lisitsynwiking: bazdmeg!09:48
sanuj:P09:49
@wikinglisitsyn: what needs to be discused?09:55
lisitsynwiking: templates09:56
lisitsynwiking: we need to setup base classes09:56
@wikingwhat's with them09:56
lisitsynand I am not sure what's with templates09:56
lisitsynsay DenseFeatures<T>09:56
lisitsyndo we export it for all T?09:56
@wikingcurrently yes09:57
@wikingafik09:57
@wiking*afaik09:57
lisitsynwiking: have you seen my patch for meta cpp?09:57
lisitsynaka wrap(…)? :D09:57
@wikinghehehe yeah09:58
@wiking:)09:58
lisitsynwiking: the memleaks we have are openmp-related now10:00
-!- GandalfTheWizard [~Eva@112.10.170.90] has joined #shogun10:00
-!- GandalfTheWizard [~Eva@112.10.170.90] has quit [Client Quit]10:04
@wikinglisitsyn: not all10:30
@wikingthere's some gaussian related stuff10:31
@wikingthat needs to be fixed still10:31
-!- sonney2k [~shogun@7nn.de] has quit [Ping timeout: 252 seconds]10:37
-!- sonney2k [~shogun@7nn.de] has joined #shogun10:37
-!- sanuj_ [~sanuj@117.203.17.127] has joined #shogun10:38
-!- sanuj [~sanuj@117.203.17.127] has quit [Ping timeout: 240 seconds]10:44
-!- GandalfTheWizard [~Eva@112.10.170.90] has joined #shogun10:55
-!- GandalfTheWizard [~Eva@112.10.170.90] has quit [Quit: Leaving.]11:01
-!- [Chris] [~Chris]@deadtime.informatik.uni-tuebingen.de] has quit [Read error: Connection reset by peer]11:12
-!- sanuj_ [~sanuj@117.203.17.127] has quit [Ping timeout: 258 seconds]11:33
-!- GandalfTheWizard [~Eva@112.10.170.90] has joined #shogun11:46
-!- sanuj [~sanuj@117.203.17.171] has joined #shogun11:47
-!- sanuj [~sanuj@117.203.17.171] has quit [Ping timeout: 276 seconds]11:57
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has joined #shogun12:27
c4goldswwiking Hey, you around?  I'm still not able to build the most recent version of Shogun: https://gist.github.com/c4goldsw/2b7d1597d13472f7dd3bd92b014ed6ea12:28
-!- sanuj [~sanuj@117.203.17.171] has joined #shogun12:40
c4goldswHey sanuj, have a moment?12:46
sanujc4goldsw, yes, say12:46
c4goldswI'm still not able to build the most recent version of Shogun: https://gist.github.com/c4goldsw/2b7d1597d13472f7dd3bd92b014ed6ea .  Have any ideas about how to go fixing this?12:46
sanujc4goldsw, did you run "make" before "make install"?12:48
c4goldswNo - I just tried that and still received the same error12:48
sanujc4goldsw, what were your cmake flags?12:49
c4goldswI'm using ccmake, but I'll try making it with cmake and I'll report back.12:50
sanujc4goldsw, you need to do this12:50
sanujgo to shogun dir12:50
sanujmkdir build12:50
sanujcd build12:50
c4goldswand then?12:50
sanujcmake -DENABLE_TESTING=on -DCMAKE_BUILD_TYPE=Debug ..12:50
sanujfor dev build^12:51
sanujmake12:51
sanujand if you want to install it then => make install12:51
sanujor sudo make install12:51
sanujdepending upon where you want to install it12:51
c4goldswsanuj: Do I call make from shogun or shogun/build12:54
c4goldsw?12:54
sanujshogun/build12:54
-!- besser82 [~besser82@fedora/besser82] has joined #shogun13:03
-!- mode/#shogun [+o besser82] by ChanServ13:03
c4goldswsanuj: when I run cmake -DENABLE_TESTING=on -DCMAKE_BUILD_TYPE=Debug .. , no build files are placed in shogun/build :/13:04
c4goldsw(and I run it from build)13:04
sanujc4goldsw, what is the output when you run the cmake command?13:04
c4goldswHold on, placing into gist13:05
c4goldswhttps://gist.github.com/c4goldsw/ff9fca6febe9d080eb0eab896efba1a313:05
c4goldswsanuj^13:09
sanujchecking13:10
sanujc4goldsw, run "make" in shogun/build13:10
c4goldswI have - nothing returns.   The directory is empty13:11
sanujokay13:11
sanuj2 mins13:12
sanujc4goldsw, it is because of this line13:13
sanuj-- Build files have been written to: /home/chris/programming/shogun13:13
sanujtry running "make" in shogun13:13
c4goldswThat simply throws an error:13:14
c4goldswsanuj just refresh that gist13:14
c4goldswand go to the bottom13:15
sanujokay it won't work13:15
sanujyour build files were written to shogun13:15
sanujthey should be written to shogun/build instead13:16
sanujc4goldsw, did you make new "buid" dir in shogun and ran cmake with flags from shogun/build?13:17
c4goldswAlright, then cmake probably provides an argument for specifying where to output the build files.  I'll look into to that and come back if I have any problems13:17
c4goldswYes, I did13:17
sanujit should work without any argument13:17
c4goldswUnfortunately, it isn't :/13:17
c4goldswsanuj: Thanks for your help though13:20
sanujc4goldsw, see https://gist.github.com/sanuj/93f2d43e2b1e40a10dc278748d3f5d0c13:23
sanujshould be like ^13:23
-!- GandalfTheWizard [~Eva@112.10.170.90] has quit [Quit: Leaving.]13:23
sanujthen you can do "make" and "make installl" from shogun/build as shown in the cmake output also13:23
sanujc4goldsw, if it persists, ask someone else13:24
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]13:29
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has joined #shogun13:55
-!- sanuj [~sanuj@117.203.17.171] has quit [Ping timeout: 244 seconds]14:21
-!- HeikoS [~heiko@nat-240-119.internal.eduroam.ucl.ac.uk] has joined #shogun14:50
-!- mode/#shogun [+o HeikoS] by ChanServ14:50
c4goldswHey HeikoS, have a moment?15:05
@HeikoSc4goldsw: yeah hi15:05
c4goldswI'm getting a build failure: https://gist.github.com/c4goldsw/2b7d1597d13472f7dd3bd92b014ed6ea .  Any ideas on what I should do?15:05
@HeikoSthis is in a pr?15:06
@HeikoSor where?15:06
c4goldswAh, this is on my machine15:06
c4goldswI'm just running 'make'15:07
@HeikoSc4goldsw: delete the parser output15:08
@HeikoSyour parse file is probably outdated15:08
@HeikoSdo git status and delete all files in the meta example generator dir15:08
@HeikoSthat should sovle it15:08
c4goldswOkay, I'll give that a try. Thanks.15:08
c4goldswHeikoS:  Nothing from the generator dir shows up when I do git status, so I'll just stash what I've done and do a reset --hard against the main repo's develop branch15:12
-!- sanuj [~sanuj@117.203.17.171] has joined #shogun15:16
@wikingarianepaola: ping15:22
c4goldswsanuj: Hey, I managed to solve my problems: I had a cache file which was messing things up, so I just deleted it.  Problem solved.15:24
c4goldswCMakeCache.txt specifically15:24
arianepaolahello everyone15:26
arianepaolahi wiking15:26
@wikingarianepaola: https://sources.debian.net/src/shogun/3.2.0-7.3/15:27
@wikingor just apt-get source python-shogun15:27
@wikingon debian will get you the files15:27
@wikingfor building the package15:27
arianepaolathanks :-)15:28
arianepaolacan we add the sources to shogun on github?15:28
sanujc4goldsw, oh i see15:30
sanujdidn't you delete the old build and use a fresh build dir?15:31
c4goldswNothing was in build anyway, so I'm just building from there.15:31
c4goldswsanuj still getting different build errors, so I just fetched updates from the main repo and I'm rebuilding.15:32
sanujc4goldsw, what errors?15:33
c4goldswGenerator file errors, but I'll let finish building again and see what happens.15:33
c4goldswfrom the meta example15:33
c4goldswexamples*15:33
-!- [Chris]_ [~Chris]@deadtime.informatik.uni-tuebingen.de] has joined #shogun15:57
[Chris]_hi, I have a question regarding combined kernels and cross validation. How should I specify the features for CrossValidation if I'm using a SVM with a combined kernel consisting of two rbf kernels with different feature encodings?15:57
c4goldswHeikoS: I'm still getting the same error, sadly.  My develop branch is at the same level as shogun-toolbox/develop and I've rebuilt from scratch (after having deleted my build directory).  Any ideas?16:14
c4goldswI'm building with 'cmake -DENABLE_TESTING=on -DCMAKE_BUILD_TYPE=Debug ..'16:15
sanujwiking, i need to discuss something about mkl16:16
sanujgot time?16:16
c4goldswRather, can I build Shogun without building the examples?  I've ran into this issue before - I later fetched a more recent version of shogun from the main repository and it just started to work.16:19
sanujc4goldsw, i think HeikoS is not online right now16:19
c4goldswsanuj: ah, ok.16:20
sanujhis away message: Ich bin gerade nicht hier16:21
c4goldswI'm just using an online IRC client, I can't see that info.16:21
c4goldswShould probably find a better one.16:21
sanujc4goldsw, i think you can see on an online IRC client also16:22
sanujright click / double click on his nick16:23
c4goldswsanuj: yep, you're right.16:23
c4goldswdidn't know aobut that16:23
-!- HeikoS [~heiko@nat-240-119.internal.eduroam.ucl.ac.uk] has quit [Quit: Leaving.]16:35
-!- HeikoS [~heiko@nat-240-119.internal.eduroam.ucl.ac.uk] has joined #shogun16:36
-!- mode/#shogun [+o HeikoS] by ChanServ16:36
@HeikoSc4goldsw: worked?16:43
c4goldswHeikoS sorry was AFK. Nope16:44
c4goldswCan I build Shogun without building the examples?  I've ran into this issue before - I later fetched a more recent version of shogun from the main repository and it just started to work16:45
-!- HeikoS [~heiko@nat-240-119.internal.eduroam.ucl.ac.uk] has quit [Quit: Leaving.]16:50
Saurabh7whats the issue16:53
Saurabh7c4goldsw: just set them off in ccmake then16:53
c4goldswSaurabh7 Ah, ok16:54
-!- arianepaola_ [~ariane@unaffiliated/arianepaola] has joined #shogun16:57
-!- sanuj [~sanuj@117.203.17.171] has quit [Ping timeout: 244 seconds]16:58
-!- arianepaola [~ariane@unaffiliated/arianepaola] has quit [Ping timeout: 244 seconds]16:59
c4goldswSaurabh7 Thanks!16:59
Saurabh7np17:00
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]17:09
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has joined #shogun17:10
-!- HeikoS [~heiko@nat-240-119.internal.eduroam.ucl.ac.uk] has joined #shogun17:12
-!- mode/#shogun [+o HeikoS] by ChanServ17:12
-!- [Chris]_ [~Chris]@deadtime.informatik.uni-tuebingen.de] has quit [Read error: Connection reset by peer]17:12
c4goldswHeikoS I've just disabled the building of  meta examples, so it builds now.17:13
-!- OXPHOS [9d8b131c@gateway/web/freenode/ip.157.139.19.28] has joined #shogun17:16
-!- sanuj [~sanuj@117.203.17.171] has joined #shogun17:23
sanujHeikoS, yo17:24
sanujgot time?17:24
@HeikoSsanuj: jo17:24
@HeikoSyeah17:24
sanujHeikoS, https://github.com/shogun-toolbox/shogun/pull/329417:25
@HeikoSmerged :)17:26
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun17:26
shogun-notifier-shogun: Sanuj :develop * 24ab29c / doc/cookbook/source/examples/classifier/kernel_svm.rst: https://github.com/shogun-toolbox/shogun/commit/24ab29c1a2589c0f89af692d58b6ee88cf6737ed17:26
shogun-notifier-shogun: minor correction in svm cookbook17:26
shogun-notifier-shogun: Heiko Strathmann :develop * 8422681 / doc/cookbook/source/examples/classifier/kernel_svm.rst: https://github.com/shogun-toolbox/shogun/commit/8422681367b6dd25805dabd7a6d200b5d9996adb17:26
shogun-notifier-shogun: Merge pull request #3294 from sanuj/cookbook_svm17:26
shogun-notifier-shogun:17:26
shogun-notifier-shogun: minor correction in svm cookbook17:26
shogun-buildbotbuild #728 of trusty - libshogun - viennacl is complete: Failure [failed compile]  Build details are at http://buildbot.shogun-toolbox.org/builders/trusty%20-%20libshogun%20-%20viennacl/builds/728  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com>17:27
@HeikoSsanuj: what else?17:27
sanujHeikoS, i wanted to discuss about this17:28
sanujhttps://github.com/shogun-toolbox/shogun/pull/3250#discussion-diff-66655854R2917:28
sanujif i try to init combined kernel without combined features17:28
sanujit gives error17:28
sanujSG_ERROR("CombinedKernel: Number of features/kernels does not match - bailing out\n")17:29
sanujHeikoS, the error is from here https://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/kernel/CombinedKernel.cpp#L16517:31
@HeikoSchecking17:31
@HeikoSthat seems like a good error messag eno?17:31
@HeikoSdo these match?17:32
@HeikoSyou can send a mini PR that improves the error message if you like17:32
@HeikoSWhere17:32
@HeikoSNumber of features (%d) and kernels (%d) does not match - bailing out\n")17:32
@HeikoSNumber of features (%d) and kernels (%d) does not match - bailing out\n")17:32
sanujHeikoS, okay17:32
@HeikoSNumber of features (%d) and kernels (%d) does not match\n17:32
sanujHeikoS, but i think this is a bug17:32
@HeikoSremove bailing out and print number17:32
@HeikoSwhere is the cpp listing that makes this happen?17:32
@HeikoScan you send a gist?17:32
sanujHeikoS, let me explain the error17:33
sanujit arises because of precomputed custom kernel17:33
@HeikoSI assumed that17:34
sanujHeikoS, and the error can be tracked if you see line 16417:34
@HeikoSyep17:34
sanujHeikoS, if i don't use combined features then for loop in line 79 is executed17:35
sanujso you get as many features as there are kernels17:35
sanujbut f_idx++; happens for all kernels except custom kernel (see line 115)17:36
sanujHeikoS, do i make any sense?17:37
@HeikoSsanuj: you just need to make sure it matches when custom kernels are used17:38
@HeikoSit makes sense17:38
sanujokay17:38
@HeikoSsanuj: can you fix it?17:39
@HeikoSor need help with that?17:39
sanujHeikoS, so i added this condition: if (k->get_kernel_type() != K_CUSTOM) for the for loop body in line 7917:39
sanujand it is working on my local17:39
sanujit's fixed17:39
sanujcan i send a separate PR17:39
@HeikoSyeah do that17:40
@HeikoSnice!17:40
@HeikoSquestion:17:40
@HeikoSthe previous example17:40
@HeikoShad a custom kernel?17:40
@HeikoSwhy did it work?17:40
@HeikoSthe one that you based yours on?17:40
sanujHeikoS, they used combined features17:41
sanujwith one feature in it17:42
sanujand they had 2 kernels17:42
@HeikoSwhy did it work?17:42
sanujout of which one was custom17:42
sanujthis is the same thing as what i have done currently in the PR17:42
@HeikoSbecause otherwise I would suggest you exactly replicate that? Or did I ask to change?17:42
sanujHeikoS, you asked to change17:42
sanujsee if you look at my pR17:42
sanujthen there are 3 kernels17:43
sanujone is custom17:43
sanujso there are 2 features in combined features17:43
sanujbut if  we don't want to use combined features17:43
sanujinit() function implicitly creates combined features from line 79 for loop17:44
sanujand adds 3 features to the combine feature17:44
sanujso it screws up17:44
sanujHeikoS, got it?17:44
sanuji think it should be corrected, it's a bug17:44
@HeikoSno I dont get it17:45
@HeikoSthe previous example17:45
@HeikoSwhy did it work17:45
@HeikoS?17:45
sanujHeikoS, the previous examples had 2 kernels17:45
sanujout of which one was custom17:45
@HeikoSand one feature object?17:46
sanujcombined kernel was initialized by combined feature with one feature in it17:46
@HeikoSyou dont want to do that?17:46
@HeikoSah17:46
@HeikoSand then implicitly creates a dummy feature inside?17:47
sanujno, custom kernel is precomputed so it does not need a dummy feature17:47
sanujbut the custom kernel creates a dummy feature inside17:47
sanujwhen it is set with a kernel matrix17:48
@HeikoSok17:48
sanujHeikoS, let me summarize17:48
@HeikoSI am sorry, sanuj, I dont understand what you want from me :D17:48
sanujlast example:17:49
@HeikoSnono17:49
@HeikoSI get the xample17:49
@HeikoSwhat is the problem?17:49
@HeikoSI mean what is unclear?17:49
sanujHeikoS, do you understand the bug?17:49
@HeikoSnope17:50
sanujokay so according to you17:50
sanuji have a combined kernel17:50
sanujwith 3 kernels17:50
sanujone is custom17:51
sanujand i do17:51
sanujcombined_kernel.init(features_train, features_test)17:51
sanujHeikoS, what should happen?17:51
@HeikoSall features should be initialised with either the features provided, or dummy features for custom kernel17:51
sanujHeikoS, but if i have a precomputed custom kernel then?17:52
@HeikoSnothing, should just check whether the dimensions match17:52
@HeikoSI think dummy features is the way for that17:52
sanujHeikoS, when i do : combined_kernel.init(features_train, features_test)17:52
sanujit errors17:52
@HeikoSok fixit :)17:53
sanujHeikoS, i'll send a PR and then you can see what i mean :D17:54
@HeikoSok send it :)17:54
@HeikoSlet the code speak17:54
@HeikoSOXPHOS: around?17:54
@HeikoSarianepaola_: hi!17:55
@HeikoSSaurabh7: hi!17:55
arianepaola_Hello HeikoS17:55
@HeikoSarianepaola_: hi17:55
@HeikoSarianepaola_: so, the cookbook counter is too low!17:55
arianepaola_looking into it HeikoS :-)17:55
@HeikoSarianepaola_: good!17:56
@HeikoSkeep in mind for midterm, you want 6*2 at least17:56
@HeikoSand as you see, it takes some time to iterate17:56
@HeikoSas lots of issues on the way17:56
-!- arianepaola_ [~ariane@unaffiliated/arianepaola] has quit [Read error: Connection reset by peer]17:56
@HeikoSsanuj: any news on the swig stuff?17:57
sanujHeikoS, lisitsyn wanted to discuss something about that17:57
sanujwith you and wiking17:57
@HeikoSlisitsyn: what is it?17:58
@HeikoSsanuj: you know what that was?17:58
sanujHeikoS, i'll update my swig branch and then we can talk in context to that17:59
@HeikoScool17:59
@HeikoSsanuj: its time to get this finished17:59
@HeikoSand start on plugins17:59
sanuji know17:59
OXPHOSHeikoS: yes for now. I need to catch a flight soon sry.18:00
@HeikoSOXPHOS: ok18:00
@HeikoSOXPHOS: so need to discuss a few things18:00
@HeikoSgot a minute? Or should I write an email?18:00
OXPHOSHeikoS: email is works better i guess18:01
@HeikoSOXPHOS: ok, can I give you a primer here though?18:01
@HeikoSOXPHOS:  or do you need to leave like NOW ? :)18:01
-!- arianepaola [~ariane@unaffiliated/arianepaola] has joined #shogun18:02
OXPHOSHeikoS: go ahead! having brief lunch now18:02
-!- arianepaola [~ariane@unaffiliated/arianepaola] has quit [Excess Flood]18:02
@HeikoSOXPHOS: ok so18:02
@HeikoSremember the difference between compile time and runtime we discussed last time?18:02
-!- arianepaola [~ariane@unaffiliated/arianepaola] has joined #shogun18:02
arianepaolayes HeikoS18:03
@HeikoSarianepaola: ok cool!18:03
@HeikoSIll be away over the weekend mostly18:03
OXPHOSHeikoS: yes18:03
@HeikoSbut I have some time now to merge things and give feedback18:03
@HeikoSOXPHOS: ok so have a look here: https://github.com/shogun-toolbox/shogun/pull/3277/files/3baae8059acbc6fcf0423d2ef67dfd1b27c890b0#diff-4e89c8ea6b0b57d1f78952d268054c52R7018:03
@HeikoSOXPHOS: this hard-wires VIENNACL into the linalg vector at compile time.18:04
@HeikoSwhich means GPU = VIENNACL18:04
@HeikoSbut we dont want that18:04
@HeikoSwe want to be able to choose at runtime between say VIENNACL and CUDA18:04
@HeikoSso there cannot ever be any #ifdef checks in the linalf vector class18:04
@HeikoSbut just calls to virtual methods of some interface18:04
@HeikoSof which the specialization then incliudes VIENNACL (and guards of course)18:04
@HeikoSdo you see the (important ) difference?18:05
OXPHOSI think so, let me try to reiterate it -18:05
@HeikoSpleas do :)18:05
OXPHOSwe can have several different GPUBackend.h /.cpp, which are wrapped by #ifdef HAVE_XX, and enables linalg calculation and memory transfer18:06
OXPHOSor in one GPUBackend we have different ifdefs??18:06
OXPHOSso Vector just calls GPUBackend.transfer, with CPUptr18:07
OXPHOSand GPUBackend decides which method to use18:07
@HeikoSyou you have a base class18:08
@HeikoSGPUBackendBase say18:08
@HeikoSwhich is purely abstract and has all the interfaces to to transfers18:08
@HeikoSand then multiple specializations of it18:08
OXPHOSokay so like the base vector/gpu vector before18:08
OXPHOSi get it18:08
@HeikoSwith hard dependency on lib18:08
@HeikoSand in your vector class, you just call the interface18:09
OXPHOSsure18:09
@HeikoSthis way, no ifdef in your vector class18:09
@HeikoSAND18:09
@HeikoSmore importantly18:09
@HeikoSuser can change between backends while shogun is running18:09
@HeikoSthat is the main point18:09
@HeikoSof the whole refactoring18:09
@HeikoSthe rest is details18:09
@HeikoSbut this is the thing that this is about18:09
@HeikoStry to really get your head around this :)18:09
-!- lambday [8028b10a@gateway/web/freenode/ip.128.40.177.10] has joined #shogun18:09
-!- mode/#shogun [+o lambday] by ChanServ18:10
OXPHOSbut the specialization/derived classes still need guards right?18:10
@HeikoSOXPHOS: yeah sure18:10
@HeikoSbut these are just for the specialization18:10
@HeikoSnot for the interface itself18:10
@HeikoSso if both CUDA and VIENNA are available at compile time, both are built18:10
OXPHOSsure'18:10
@HeikoSand then can easily be changed at runtime18:10
@HeikoSOXPHOS: what lambday and I will do now, is to draft this, with some more attention on details18:11
@HeikoSand then you can update your PR18:11
OXPHOSand the gpuresgister - should it be an enum?18:11
@HeikoSnot sure I get what you mean18:11
OXPHOShow do users specify which gpu backend to use if multiple is available?18:12
@HeikoSthere will be some method18:13
@HeikoSthat is a detail, we will put that in our draft18:13
@HeikoSenum is ok18:13
OXPHOSsure18:14
@HeikoShave a good flight, will send something within the next hour18:14
OXPHOSthx!18:14
OXPHOSBTW could you check some PR if you still got time?18:14
OXPHOShttps://github.com/shogun-toolbox/shogun/pull/328718:14
OXPHOSand the last comment of: https://github.com/shogun-toolbox/shogun/pull/328018:15
OXPHOSHeikoS: thanks! ^18:15
shogun-notifier-shogun: lambday :develop * 5181c9b / / (3 files): https://github.com/shogun-toolbox/shogun/commit/5181c9b0c68c4ce56446b839381945f5004cfa7d18:16
shogun-notifier-shogun: Added shift invariant kernel class.18:16
shogun-notifier-shogun: Heiko Strathmann :develop * 784ae71 / / (3 files): https://github.com/shogun-toolbox/shogun/commit/784ae715d216a03f7439d99b6efc85e84b82634c18:16
shogun-notifier-shogun: Merge pull request #3289 from lambday/develop18:17
shogun-notifier-shogun:18:17
shogun-notifier-shogun: added translational invariant kernel class, refactored distance kernel18:17
@HeikoSOXPHOS: cheching18:17
shogun-buildbotbuild #729 of trusty - libshogun - viennacl is complete: Failure [failed compile]  Build details are at http://buildbot.shogun-toolbox.org/builders/trusty%20-%20libshogun%20-%20viennacl/builds/729  blamelist: lambday <heavensdevil6909@gmail.com>18:17
shogun-buildbotbuild #730 of trusty - libshogun - viennacl is complete: Failure [failed compile]  Build details are at http://buildbot.shogun-toolbox.org/builders/trusty%20-%20libshogun%20-%20viennacl/builds/730  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>18:18
-!- OXPHOS [9d8b131c@gateway/web/freenode/ip.157.139.19.28] has quit [Quit: Page closed]18:25
sanujHeikoS, see here18:34
sanujhttps://github.com/sanuj/shogun/blob/tags-swig/src/interfaces/modular/SGBase.i#L55618:34
-!- sanuj [~sanuj@117.203.17.171] has quit [Quit: Leaving]20:01
-!- HeikoS [~heiko@nat-240-119.internal.eduroam.ucl.ac.uk] has quit [Quit: Leaving.]20:11
-!- HeikoS [~heiko@nat-240-119.internal.eduroam.ucl.ac.uk] has joined #shogun20:11
-!- mode/#shogun [+o HeikoS] by ChanServ20:11
-!- HeikoS [~heiko@nat-240-119.internal.eduroam.ucl.ac.uk] has quit [Ping timeout: 258 seconds]20:15
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]20:22
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has joined #shogun20:22
-!- lambday [8028b10a@gateway/web/freenode/ip.128.40.177.10] has quit [Ping timeout: 250 seconds]20:30
-!- sonne|osx [~sonne@x4db3bbe4.dyn.telefonica.de] has joined #shogun20:38
-!- sonne|osx [~sonne@x4db3bbe4.dyn.telefonica.de] has quit [Quit: sonne|osx]20:53
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]21:17
-!- sonne|osx [~sonne@x4db3bbe4.dyn.telefonica.de] has joined #shogun21:27
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]21:36
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has joined #shogun21:37
-!- sonne|osx [~sonne@x4db3bbe4.dyn.telefonica.de] has quit [Quit: sonne|osx]21:45
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 260 seconds]21:50
-!- sonne|osx [~sonne@x4db3bbe4.dyn.telefonica.de] has joined #shogun22:10
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]22:24
-!- sonne|osx [~sonne@x4db3bbe4.dyn.telefonica.de] has quit [Quit: sonne|osx]22:57
--- Log closed Sat Jun 18 00:00:44 2016

Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!