hughperkins / cltorch

An OpenCL backend for torch.
Other
291 stars 26 forks source link

char-rnn: model_utils.lua:76: bad argument #1 to ‘set' #7

Closed Ambext closed 9 years ago

Ambext commented 9 years ago

Coming from issue #5

Ambext commented 9 years ago

After retrying with a proper rebuild and the flat_namespace option it still doesn't work. I know you are running short on ideas here, and I don't provide much. Happy to organise a team view if that helps.

hughperkins commented 9 years ago

I dont have any ideas, I need to just try random things till it works really. I cant find any documentation on this.

Ambext commented 9 years ago

got it. Let me know when if convenient for a team viewer session.

hughperkins commented 9 years ago

the weekend mostly...

Ambext commented 9 years ago

no worries. You make the call.

On 13 Jul 2015, at 08:57, Hugh Perkins notifications@github.com wrote:

the weekend mostly...

— Reply to this email directly or view it on GitHub https://github.com/hughperkins/cltorch/issues/7#issuecomment-120771233.

hughperkins commented 9 years ago

but otherwise, around 8am - 08:45am SGT is a fairly stable time.

hughperkins commented 9 years ago

but I probably need about 5-8 hours total...

hughperkins commented 9 years ago

Basically, I need to learn how to use Mac nm to view a shared object, and then find appropriate options so that the contents are correct. At the moment, I have no visibility into how to use Mac OSX nm, and therefore no way to look inside the shared objects. So, then it's just guesswork... (Per the normal usage of nm that I know about, see above, our shared objects are correct, but the linker doesnt agree, so theres some information not being shown by nm currently)

Ambext commented 9 years ago

Unfortunately pretty much all the ideas I have about linking are coming from this thread, so I can't really help, besides providing a mac remotely :-)

As mentioned, tell me if / when you have enough time to dedicate to this and let's organise it then.

hughperkins commented 9 years ago

08:00am SGT. Its in 50 minutes time.

Ambext commented 9 years ago

ok

hughperkins commented 9 years ago

can you email me your teamviewer id and password please?

hughperkins commented 9 years ago

Hmmm, this page is interesting https://developer.apple.com/library/ios/documentation/System/Conceptual/ManPages_iPhoneOS/man3/dlopen.3.html looks like the 'flat namespace' option needs to be in the client exe, not the dll, in this case that would be easycl_unittetss

Ambext commented 9 years ago

Hey Hugh, tomorrow morning looks clear for me for another remote session. Let me know if it also is convenient for you.

hughperkins commented 9 years ago

ok. Sounds good for me :-)

Ambext commented 9 years ago

Great. See you tomorrow then.

Ambext commented 9 years ago

Hey Hugh,

I have try a build after having updated mac prototype. And it seems it does work! See below [100%] Built target testcall Exowide:build mnemonis$ ./testcall usesluacpp_testLua()

hughperkins commented 9 years ago

Ok, good info. It's just a stepping stone though, there's still a small discrepancy between the mac-prototype build and the EasyCL build.

hughperkins commented 9 years ago

Closing this since old. Please feel to re-open if the issue is still not solved.