Are we meeting tomorrow, in addition to Thursdays?
Also, Erick, I wanted to ask if you would be in the lab tomorrow at all. I would like to implement a Tachyon driver for the benchmarking framework, so we can hopefully show it to the Mozilla people on Friday. For this, we would ideally need to discuss/fix/refactor some issues with calling into Tachyon code from V8.
I would like to be able to call any IRFunction in a given compiled file (so I can lookup a given global function by name), and, if possible, be able to pass it one or two integer arguments. This would make it possible to get rid of the global return, which is not valid JavaScript, and currently prevents our benchmarks from running in V8 as-is. It would mean we could run the same benchmarks, in essentially the same way, on both Tachyon and V8.
- Maxime
Afficher les réponses par date
Le 10-12-07 15:50 , chevalma@iro.umontreal.ca a écrit :
Are we meeting tomorrow, in addition to Thursdays?
If you want to discuss the issues you raised, I would cancel the meeting.
I would like to be able to call any IRFunction in a given compiled file (so I can lookup a given global function by name), and, if possible, be able to pass it one or two integer arguments. This would make it possible to get rid of the global return, which is not valid JavaScript, and currently prevents our benchmarks from running in V8 as-is. It would mean we could run the same benchmarks, in essentially the same way, on both Tachyon and V8.
If you don't need the return value and do not need to parametrize the argument to fib, having the benchmark defined this way should run as-is without any changes in the backend:
function fib(x) { if (x < 2) return x; else return fib(x-1) + fib(x-2);
} fib(20);
The driver would simply need to do the following, where the file name was given through a commandline argument:
var f = compileFileToJSFunc(filename); // Setup timers f(); // Stop timers f.free() // Retrieve timer results
That would give you the running time but would not ensure correctness of the result. I would advocate doing things this way for Friday since I won't have any development time to help you on this.
I am not completely clear on how your driver should work nor what you want to parametrize so I would be available between 12h30 and 14h30 to talk about it assuming we do not have a meeting.
Erick
- Maxime
Tachyon-list mailing list Tachyon-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/tachyon-list
Ok well. Let's just have a meeting as usual, and we can perhaps bring this issue up. I'll do the necessary refactorings for Friday if I have time.
- Maxime
On 10-12-07 07:32 PM, Erick Lavoie wrote:
Le 10-12-07 15:50 , chevalma@iro.umontreal.ca a écrit :
Are we meeting tomorrow, in addition to Thursdays?
If you want to discuss the issues you raised, I would cancel the meeting.
I would like to be able to call any IRFunction in a given compiled file (so I can lookup a given global function by name), and, if possible, be able to pass it one or two integer arguments. This would make it possible to get rid of the global return, which is not valid JavaScript, and currently prevents our benchmarks from running in V8 as-is. It would mean we could run the same benchmarks, in essentially the same way, on both Tachyon and V8.
If you don't need the return value and do not need to parametrize the argument to fib, having the benchmark defined this way should run as-is without any changes in the backend:
function fib(x) { if (x< 2) return x; else return fib(x-1) + fib(x-2);
} fib(20);
The driver would simply need to do the following, where the file name was given through a commandline argument:
var f = compileFileToJSFunc(filename); // Setup timers f(); // Stop timers f.free() // Retrieve timer results
That would give you the running time but would not ensure correctness of the result. I would advocate doing things this way for Friday since I won't have any development time to help you on this.
I am not completely clear on how your driver should work nor what you want to parametrize so I would be available between 12h30 and 14h30 to talk about it assuming we do not have a meeting.
Erick
- Maxime
Tachyon-list mailing list Tachyon-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/tachyon-list
Tachyon-list mailing list Tachyon-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/tachyon-list
Agreed. I will commit any changes before Thursdays meeting.
- Maxime
On 10-12-07 09:31 PM, Marc Feeley wrote:
On 2010-12-07, at 8:12 PM, Maxime Chevalier-Boisvert wrote:
I'll do the necessary refactorings for Friday if I have time.
I would advise against this. We need to "code freeze" thursday, before we meet, so that we know what works for Friday.
Marc
Tachyon-list mailing list Tachyon-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/tachyon-list