Download testing/unittest/cuda/testframework.h from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 586 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/testing/unittest/cuda/testframework.h
- Command line
-
hf download hf://camenduru/thrust/testing/unittest/cuda/testframework.h
-
curl -L -o testframework.h https://huggingface.co/camenduru/thrust/resolve/main/testing/unittest/cuda/testframework.h
586 Bytes
| class CUDATestDriver | |
| : public UnitTestDriver | |
| { | |
| public: | |
| int current_device_architecture() const; | |
| private: | |
| std::vector<int> target_devices(const ArgumentMap &kwargs); | |
| bool check_cuda_error(bool concise); | |
| virtual bool post_test_smoke_check(const UnitTest &test, bool concise); | |
| virtual bool run_tests(const ArgumentSet &args, const ArgumentMap &kwargs); | |
| }; | |
| UnitTestDriver &driver_instance(thrust::system::cuda::tag); | |