Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
minmingzhu committed Jul 29, 2024
1 parent 965036a commit cba24c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mllib-dal/src/main/native/CorrelationImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,12 +320,12 @@ Java_com_intel_oap_mllib_stat_CorrelationDALImpl_cCorrelationTrainDAL(
rank);
jint *gpuIndices = env->GetIntArrayElements(gpuIdxArray, 0);

auto queue = getGPU(device, gpuIndices);
// auto gpu_device = sycl::device(sycl::gpu_selector_v);
// sycl::queue queue{gpu_device};
// auto queue = getGPU(device, gpuIndices);
auto gpu_device = sycl::device(sycl::gpu_selector_v);
sycl::queue queue{gpu_device};
const char* cstr = env->GetStringUTFChars(breakdown_name, nullptr);
std::string c_breakdown_name(cstr);
const char *str = env->GetStringUTFChars(ip_port, 0);
const char *str = env->GetStringUTFChars(ip_port, nullptr);
ccl::string ccl_ip_port(str);

auto t1 = std::chrono::high_resolution_clock::now();
Expand Down

0 comments on commit cba24c9

Please sign in to comment.