12 karma · joined Nov 3, 2016 (10y ago) · 20 submissions
comment 8y ago · link · parent
Why is this? I mean, I understand why you don't want to install over the system compiler, but having another version of Clang installed side by side shouldn't be an issue, should it?
comment 9y ago · link · parent
comment 9y ago · link · parent
double *a = malloc(sizeof(double)*nx*ny*nz);
int id;
for(int k = 0; k < nz; k++) {
for(int j = 0; j < ny; j++) {
for(int i = 0; < i < nx; i++) {
id = k*nx*ny + j*nx + i;
a[id] = /* some mathematical operation */
}
}
}
You can do it in other ways (arrays of pointes, etc), but I think this is probably the simplest conceptually, and the memory is contiguous.comment 9y ago · link · parent
comment 9y ago · link · parent
For example, NVidia came to our University in the UK and provided training for £20 an academic/PhD student for a 2 day course on how to use CUDA and with performance tips, hands on porting of code, etc. They also give away CUDA cards to academics under a hardware grant scheme, so it's possible to get a free Titan Xp this year for a research group.
There's not really an equivalent for AMD or Intel; a Xeon Phi Knights Landing chip is significantly more expensive than a consumer level GPU, and the same cost as a workstation GPU, and it's a lot harder to get good performance from it. It also doesn't seem like AMD are targeting this market, at least not currently.
comment 9y ago · link · parent
That said, I'm surprised they've not let users associate all of your Slack team accounts with a single account.
comment 9y ago · link · parent
Almost all companies have a pension scheme too which are usually something like matched contributions - the employee contributes X% of their salary, and the employer contributes an additional X% of their salary up to some threshold (usually 5-10%).
Starting salary for any graduate job is about that in the UK, and most of Europe too. I suppose that the cost of upping and moving is significant enough to put people off. Plus, the difficulty in getting a visa is likely a major factor.
comment 9y ago · link · parent
comment 9y ago · link · parent
On the other hand, there are additional things that are paid for because of various legal differences between the the UK and the US (such as paid maternity leave, paid sick leave, and employers have to pay a tax for each employee called National Insurance which effectively funds the state pension system). The law also gives all employees 5.5 weeks of holiday (though there often some restrictions on when it can be taken).
20.
Computational Science Reproducibility Syllabus(medium.com ↗)
2 points · by ryanpepper · 10y ago · discuss