Spaces:
Runtime error
Runtime error
Download thrust/testing/unittest/cuda/testframework.h from CVPR/LIVE: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/spaces/CVPR/LIVE/resolve/main/thrust/testing/unittest/cuda/testframework.h
- Command line
-
hf download hf://spaces/CVPR/LIVE/thrust/testing/unittest/cuda/testframework.h
-
curl -L -o testframework.h https://huggingface.co/spaces/CVPR/LIVE/resolve/main/thrust/testing/unittest/cuda/testframework.h
587 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_sanity_check(const UnitTest &test, bool concise); | |
| virtual bool run_tests(const ArgumentSet &args, const ArgumentMap &kwargs); | |
| }; | |
| UnitTestDriver &driver_instance(thrust::system::cuda::tag); | |