Skip to content

GpuArray sort operation#488

Open
vcampmany wants to merge 19 commits intoTheano:masterfrom
vcampmany:master
Open

GpuArray sort operation#488
vcampmany wants to merge 19 commits intoTheano:masterfrom
vcampmany:master

Conversation

@vcampmany
Copy link

@vcampmany vcampmany commented Jul 24, 2017

Sort implementation for 1D contiguous data.
int GpuArray_sort(GpuArray *dstKey, GpuArray *srcKey, uint sortDir, GpuArray *arg)
sortDir: 0 for descending order and 1 for ascending order
arg empty GpuArray to store argsort output. Set to NULL for regular sort. Supported types for the GpuArray are GA_UINT and GA_ULONG

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't expose this in a public header

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably want to hide those structures also.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a newline at the end

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove old code

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It feels a bit weird to refer to an EULA that is not there. Perhaps there is a way to reword that.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should remove the paragraph about the EULA. The rest is fine.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this really necessary?

@abergeron
Copy link
Member

jenkins tests this please

@abergeron
Copy link
Member

jenkins test this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments