Download build/_deps/metal-src/example/src/expression.cpp from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 470 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/metal-src/example/src/expression.cpp
- Command line
-
hf download hf://camenduru/thrust/build/_deps/metal-src/example/src/expression.cpp
-
curl -L -o expression.cpp https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/metal-src/example/src/expression.cpp
470 Bytes
| HIDE( | |
| /// [expr1] | |
| template<class... vals> | |
| using expr = metal::number<sizeof...(vals)>; | |
| /// [expr1] | |
| ) | |
| HIDE( | |
| /// [expr2] | |
| template<class x, class y> | |
| struct expr; | |
| /// [expr2] | |
| ) | |
| HIDE( | |
| /// [not_an_expr1] | |
| template<template<class...> class...> // non-type parameter | |
| struct not_an_expr; | |
| /// [not_an_expr1] | |
| ) | |
| HIDE( | |
| /// [not_an_expr2] | |
| template<int v> // non-type parameter | |
| using not_an_expr = metal::number<v>; | |
| /// [not_an_expr2] | |
| ) | |