In CUDA kernels, __assume() or __builtin_assume()?

Viewed 103

CUDA offers the kernel author two functions, __builtin_assume() and __assume(). Their signatures are the same:

void __builtin_assume(bool exp);
void __assume(bool exp);

and so is their one-line documentation. Are they the same? Is one of them deprecated?

1 Answers
Related