/
| 953 | |
| 954 | /*****************************************************/ |
| 955 | size_t maximum_problem_size() { |
| 956 | int device_index = 0; |
| 957 | //N.B. if this class ever needs to support more than one device at once |
| 958 | //(i.e., multiple GPUs or CPU+GPU), device index will need to be variable |
| 959 | //to choose the device of interest |
| 960 | return cl_device_max_memory_to_allocate(device_index)/(sizeof(T)*2); |
| 961 | //TODO *2 needs to be either *1 or *2, depending, once real numbers are implemented in clfft |
| 962 | } |
| 963 | |
| 964 | /*****************************************************/ |
| 965 | size_t number_of_opencl_devices() { |
nothing calls this directly
no outgoing calls
no test coverage detected