@@ -44,13 +38,6 @@ std::unordered_map<void *, std::atomic<int64_t>> ptr_count_dict; namespace prajna::jit { #ifdef PRAJNA_WITH_GPU // cudaMalloc是一个重载函数, 故重新包装了一下 cudaError_t cudaMalloc(void **devPtr, size_t size) { return ::cudaMalloc(devPtr, size); } in...
using namespace std; int main(){ unordered_set<int>my_HashSet; //Insert elements into the HashSet my_HashSet.insert(100); my_HashSet.insert(200); my_HashSet.insert(300); my_HashSet.insert(400); //Show the contents of the HashSet. ...
functionMoodleQuickForm_htmleditor($elementName = null, $elementLabel = null, $options = array(), $attributes = null){parent::MoodleQuickForm_textarea($elementName, $elementLabel, $attributes);// set the options, do not bother setting bogus onesif(is_array($options)) {foreach($optionsas$...