kthvalue is a missing feature. There are 3 or 4 functions still missing on the GPU.
topk is available on the GPU for FloatTensor and currently being implemented for other tensor types. Maybe you can get torch.topk and get the last value? That might be faster